|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Actions | |
---|---|
org.openqa.selenium.interactions | |
org.openqa.selenium.interactions.touch |
Uses of Actions in org.openqa.selenium.interactions |
---|
Methods in org.openqa.selenium.interactions that return Actions | |
---|---|
Actions |
Actions.click()
Clicks at the current mouse location. |
Actions |
Actions.click(WebElement onElement)
Clicks in the middle of the given element. |
Actions |
Actions.clickAndHold()
Clicks (without releasing) at the current mouse location. |
Actions |
Actions.clickAndHold(WebElement onElement)
Clicks (without releasing) in the middle of the given element. |
Actions |
Actions.contextClick(WebElement onElement)
Performs a context-click at middle of the given element. |
Actions |
Actions.doubleClick()
Performs a double-click at the current mouse location. |
Actions |
Actions.doubleClick(WebElement onElement)
Performs a double-click at middle of the given element. |
Actions |
Actions.dragAndDrop(WebElement source,
WebElement target)
A convenience method that performs click-and-hold at the location of the source element, moves to the location of the target element, then releases the mouse. |
Actions |
Actions.dragAndDropBy(WebElement source,
int xOffset,
int yOffset)
A convenience method that performs click-and-hold at the location of the source element, moves by a given offset, then releases the mouse. |
Actions |
Actions.keyDown(Keys theKey)
Performs a modifier key press. |
Actions |
Actions.keyDown(WebElement element,
Keys theKey)
Performs a modifier key press after focusing on an element. |
Actions |
Actions.keyUp(Keys theKey)
Performs a modifier key release. |
Actions |
Actions.keyUp(WebElement element,
Keys theKey)
Performs a modifier key release after focusing on an element. |
Actions |
Actions.moveByOffset(int xOffset,
int yOffset)
Moves the mouse from its current position (or 0,0) by the given offset. |
Actions |
Actions.moveToElement(WebElement toElement)
Moves the mouse to the middle of the element. |
Actions |
Actions.moveToElement(WebElement toElement,
int xOffset,
int yOffset)
Moves the mouse to an offset from the top-left corner of the element. |
Actions |
Actions.release()
Releases the depressed left mouse button at the current mouse location. |
Actions |
Actions.release(WebElement onElement)
Releases the depressed left mouse button, in the middle of the given element. |
Actions |
Actions.sendKeys(java.lang.CharSequence... keysToSend)
Sends keys to the active element. |
Actions |
Actions.sendKeys(WebElement element,
java.lang.CharSequence... keysToSend)
Equivalent to calling: Actions.click(element).sendKeys(keysToSend). |
Uses of Actions in org.openqa.selenium.interactions.touch |
---|
Subclasses of Actions in org.openqa.selenium.interactions.touch | |
---|---|
class |
TouchActions
Implements actions for touch enabled devices, reusing the available composite and builder design patterns from Actions. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |