public class Actions
extends org.openqa.selenium.interactions.Actions
| Constructor and Description |
|---|
Actions(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
Actions |
addAction(org.openqa.selenium.interactions.Action a) |
Actions |
blurByJS(org.openqa.selenium.WebElement element) |
Actions |
click() |
Actions |
click(org.openqa.selenium.WebElement onElement) |
Actions |
clickAndHold() |
Actions |
clickAndHold(org.openqa.selenium.WebElement onElement) |
Actions |
contextClick() |
Actions |
contextClick(org.openqa.selenium.WebElement onElement) |
Actions |
doubleClick() |
Actions |
doubleClick(org.openqa.selenium.WebElement onElement) |
Actions |
dragAndDrop(org.openqa.selenium.WebElement source,
org.openqa.selenium.WebElement target) |
Actions |
dragAndDropBy(org.openqa.selenium.WebElement source,
int xOffset,
int yOffset) |
Actions |
keyDown(org.openqa.selenium.Keys theKey) |
Actions |
keyDown(org.openqa.selenium.WebElement element,
org.openqa.selenium.Keys theKey) |
Actions |
keyUp(org.openqa.selenium.Keys theKey) |
Actions |
keyUp(org.openqa.selenium.WebElement element,
org.openqa.selenium.Keys theKey) |
Actions |
moveByOffset(int xOffset,
int yOffset) |
Actions |
moveToElement(org.openqa.selenium.WebElement toElement) |
Actions |
moveToElement(org.openqa.selenium.WebElement toElement,
int xOffset,
int yOffset) |
Actions |
release() |
Actions |
release(org.openqa.selenium.WebElement onElement) |
Actions |
sendKeys(CharSequence... keysToSend) |
Actions |
sendKeys(org.openqa.selenium.WebElement element,
CharSequence... keysToSend) |
Actions |
triggerEventByJS(Event event,
org.openqa.selenium.WebElement element) |
Actions |
triggerEventByWD(Event event,
org.openqa.selenium.WebElement element)
Will try to trigger given event with webdriver standard API method - nativelly
|
Actions |
waitAction(long timeInMillis) |
public Actions addAction(org.openqa.selenium.interactions.Action a)
public Actions blurByJS(org.openqa.selenium.WebElement element)
public Actions click(org.openqa.selenium.WebElement onElement)
click in class org.openqa.selenium.interactions.Actionspublic Actions click()
click in class org.openqa.selenium.interactions.Actionspublic Actions clickAndHold(org.openqa.selenium.WebElement onElement)
clickAndHold in class org.openqa.selenium.interactions.Actionspublic Actions clickAndHold()
clickAndHold in class org.openqa.selenium.interactions.Actionspublic Actions contextClick(org.openqa.selenium.WebElement onElement)
contextClick in class org.openqa.selenium.interactions.Actionspublic Actions contextClick()
contextClick in class org.openqa.selenium.interactions.Actionspublic Actions doubleClick(org.openqa.selenium.WebElement onElement)
doubleClick in class org.openqa.selenium.interactions.Actionspublic Actions doubleClick()
doubleClick in class org.openqa.selenium.interactions.Actionspublic Actions dragAndDrop(org.openqa.selenium.WebElement source, org.openqa.selenium.WebElement target)
dragAndDrop in class org.openqa.selenium.interactions.Actionspublic Actions dragAndDropBy(org.openqa.selenium.WebElement source, int xOffset, int yOffset)
dragAndDropBy in class org.openqa.selenium.interactions.Actionspublic Actions keyDown(org.openqa.selenium.Keys theKey)
keyDown in class org.openqa.selenium.interactions.Actionspublic Actions keyDown(org.openqa.selenium.WebElement element, org.openqa.selenium.Keys theKey)
keyDown in class org.openqa.selenium.interactions.Actionspublic Actions keyUp(org.openqa.selenium.Keys theKey)
keyUp in class org.openqa.selenium.interactions.Actionspublic Actions keyUp(org.openqa.selenium.WebElement element, org.openqa.selenium.Keys theKey)
keyUp in class org.openqa.selenium.interactions.Actionspublic Actions moveByOffset(int xOffset, int yOffset)
moveByOffset in class org.openqa.selenium.interactions.Actionspublic Actions moveToElement(org.openqa.selenium.WebElement toElement)
moveToElement in class org.openqa.selenium.interactions.Actionspublic Actions moveToElement(org.openqa.selenium.WebElement toElement, int xOffset, int yOffset)
moveToElement in class org.openqa.selenium.interactions.Actionspublic Actions release(org.openqa.selenium.WebElement onElement)
release in class org.openqa.selenium.interactions.Actionspublic Actions release()
release in class org.openqa.selenium.interactions.Actionspublic Actions sendKeys(CharSequence... keysToSend)
sendKeys in class org.openqa.selenium.interactions.Actionspublic Actions sendKeys(org.openqa.selenium.WebElement element, CharSequence... keysToSend)
sendKeys in class org.openqa.selenium.interactions.Actionspublic Actions triggerEventByJS(Event event, org.openqa.selenium.WebElement element)
public Actions triggerEventByWD(Event event, org.openqa.selenium.WebElement element)
event - element - IllegalArgumentException - when given event can not be triggered by webdriver APIpublic Actions waitAction(long timeInMillis)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.