public class MouseActions extends Object
| Constructor and Description |
|---|
MouseActions(org.openqa.selenium.interactions.Keyboard keyboard,
org.openqa.selenium.interactions.Mouse mouse)
Creates a new mouse actions.
|
MouseActions(org.openqa.selenium.WebDriver driver)
Creates a new mouse actions.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.openqa.selenium.interactions.Actions |
actions()
Get the actions object.
|
org.openqa.selenium.interactions.Mouse |
basic()
Basic mouse operations
|
MouseActions |
click()
Clicks at the current mouse location.
|
MouseActions |
clickAndHold()
Clicks (without releasing) at the current mouse location.
|
MouseActions |
contextClick()
Performs a context-click at the current mouse location.
|
MouseActions |
doubleClick()
Performs a double-click at the current mouse location.
|
MouseActions |
release()
Releases the depressed left mouse button at the current mouse location.
|
public MouseActions(org.openqa.selenium.WebDriver driver)
driver - driverpublic MouseActions(org.openqa.selenium.interactions.Keyboard keyboard,
org.openqa.selenium.interactions.Mouse mouse)
keyboard - the selenium keyboard interfacemouse - the selenium mouse interfaceprotected org.openqa.selenium.interactions.Actions actions()
public org.openqa.selenium.interactions.Mouse basic()
public MouseActions clickAndHold()
Actions.clickAndHold()public MouseActions release()
Actions.release()public MouseActions click()
Actions.click()public MouseActions doubleClick()
public MouseActions contextClick()
Actions.contextClick()Copyright © 2016 FluentLenium. All Rights Reserved.