org.openqa.selenium.interactions
Class ActionChainsGenerator
java.lang.Object
org.openqa.selenium.interactions.ActionChainsGenerator
public class ActionChainsGenerator
- extends java.lang.Object
Implements the builder pattern:
Builds a CompositeAction containing all actions specified
by the method calls.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionChainsGenerator
public ActionChainsGenerator(WebDriver driver)
onElement
public ActionChainsGenerator onElement(WebElement element)
keyDown
public ActionChainsGenerator keyDown(Keys theKey)
keyDown
public ActionChainsGenerator keyDown(WebElement element,
Keys theKey)
keyUp
public ActionChainsGenerator keyUp(Keys theKey)
keyUp
public ActionChainsGenerator keyUp(WebElement element,
Keys theKey)
sendKeys
public ActionChainsGenerator sendKeys(java.lang.CharSequence... keysToSend)
sendKeys
public ActionChainsGenerator sendKeys(WebElement element,
java.lang.CharSequence... keysToSend)
build
public Action build()
clickAndHold
public ActionChainsGenerator clickAndHold(WebElement onElement)
release
public ActionChainsGenerator release(WebElement onElement)
click
public ActionChainsGenerator click(WebElement onElement)
doubleClick
public ActionChainsGenerator doubleClick(WebElement onElement)
moveToElement
public ActionChainsGenerator moveToElement(WebElement toElement)
contextClick
public ActionChainsGenerator contextClick(WebElement onElement)
dragAndDrop
public ActionChainsGenerator dragAndDrop(WebElement source,
WebElement target)
Copyright © 2011. All Rights Reserved.