public class PageElementActions extends Object
Actions class for convenient use
with PageElements. @Inject it into your page objects, or
bind via PageBinder to get instance explicitly.
Build a sequence of actions to execute by using the builder-style methods of this class. After that
build() a resulting action to execute, or just perform() the actions straight away.Actions| Constructor and Description |
|---|
PageElementActions() |
public PageElementActions keyDown(org.openqa.selenium.Keys theKey)
Actions.keyDown(org.openqa.selenium.Keys)public PageElementActions keyDown(PageElement element, org.openqa.selenium.Keys theKey)
Actions.keyDown(org.openqa.selenium.WebElement, org.openqa.selenium.Keys)public PageElementActions keyUp(org.openqa.selenium.Keys theKey)
Actions.keyUp(org.openqa.selenium.Keys)public PageElementActions keyUp(PageElement element, org.openqa.selenium.Keys theKey)
Actions.keyUp(org.openqa.selenium.WebElement, org.openqa.selenium.Keys)public PageElementActions sendKeys(CharSequence... keysToSend)
Actions.sendKeys(CharSequence...)public PageElementActions sendKeys(PageElement element, CharSequence... keysToSend)
Actions.sendKeys(org.openqa.selenium.WebElement, CharSequence...)public PageElementActions clickAndHold(PageElement onElement)
Actions.clickAndHold(org.openqa.selenium.WebElement)public PageElementActions clickAndHold()
Actions.clickAndHold()public PageElementActions release(PageElement onElement)
Actions.release(org.openqa.selenium.WebElement)public PageElementActions release()
Actions.release()public PageElementActions click(PageElement onElement)
Actions.click(org.openqa.selenium.WebElement)public PageElementActions click()
Actions.click()public PageElementActions doubleClick(PageElement onElement)
Actions.doubleClick(org.openqa.selenium.WebElement)public PageElementActions doubleClick()
Actions.doubleClick()public PageElementActions moveToElement(PageElement toElement)
Actions.moveToElement(org.openqa.selenium.WebElement)public PageElementActions moveToElement(PageElement toElement, int xOffset, int yOffset)
Actions.moveToElement(org.openqa.selenium.WebElement, int, int)public PageElementActions moveByOffset(int xOffset, int yOffset)
Actions.moveByOffset(int, int)public PageElementActions contextClick(PageElement onElement)
Actions.contextClick(org.openqa.selenium.WebElement)public PageElementActions dragAndDrop(PageElement source, PageElement target)
Actions.dragAndDrop(org.openqa.selenium.WebElement, org.openqa.selenium.WebElement)public PageElementActions dragAndDropBy(PageElement source, int xOffset, int yOffset)
Actions.dragAndDropBy(org.openqa.selenium.WebElement, int, int)public void perform()
public PageElementActions reset()
Copyright © 2015 Atlassian. All rights reserved.