org.openqa.selenium.interactions
Interface ActionChainsGenerator

All Known Implementing Classes:
DefaultActionChainsGenerator

public interface ActionChainsGenerator

Generate user actions.


Method Summary
 Action build()
           
 ActionChainsGenerator click()
           
 ActionChainsGenerator click(WebElement onElement)
           
 ActionChainsGenerator clickAndHold(WebElement onElement)
           
 ActionChainsGenerator contextClick(WebElement onElement)
           
 ActionChainsGenerator doubleClick(WebElement onElement)
           
 ActionChainsGenerator dragAndDrop(WebElement source, WebElement target)
           
 ActionChainsGenerator keyDown(Keys theKey)
           
 ActionChainsGenerator keyDown(WebElement element, Keys theKey)
           
 ActionChainsGenerator keyUp(Keys theKey)
           
 ActionChainsGenerator keyUp(WebElement element, Keys theKey)
           
 ActionChainsGenerator moveByOffset(int xOffset, int yOffset)
           
 ActionChainsGenerator moveToElement(WebElement toElement)
           
 ActionChainsGenerator moveToElement(WebElement toElement, int xOffset, int yOffset)
           
 ActionChainsGenerator release(WebElement onElement)
           
 ActionChainsGenerator sendKeys(java.lang.CharSequence... keysToSend)
           
 ActionChainsGenerator sendKeys(WebElement element, java.lang.CharSequence... keysToSend)
           
 

Method Detail

keyDown

ActionChainsGenerator keyDown(Keys theKey)

keyDown

ActionChainsGenerator keyDown(WebElement element,
                              Keys theKey)

keyUp

ActionChainsGenerator keyUp(Keys theKey)

keyUp

ActionChainsGenerator keyUp(WebElement element,
                            Keys theKey)

sendKeys

ActionChainsGenerator sendKeys(java.lang.CharSequence... keysToSend)

sendKeys

ActionChainsGenerator sendKeys(WebElement element,
                               java.lang.CharSequence... keysToSend)

clickAndHold

ActionChainsGenerator clickAndHold(WebElement onElement)

release

ActionChainsGenerator release(WebElement onElement)

click

ActionChainsGenerator click(WebElement onElement)

click

ActionChainsGenerator click()

doubleClick

ActionChainsGenerator doubleClick(WebElement onElement)

moveToElement

ActionChainsGenerator moveToElement(WebElement toElement)

moveToElement

ActionChainsGenerator moveToElement(WebElement toElement,
                                    int xOffset,
                                    int yOffset)

moveByOffset

ActionChainsGenerator moveByOffset(int xOffset,
                                   int yOffset)

contextClick

ActionChainsGenerator contextClick(WebElement onElement)

dragAndDrop

ActionChainsGenerator dragAndDrop(WebElement source,
                                  WebElement target)

build

Action build()


Copyright © 2011. All Rights Reserved.