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.Actions
public Actions click()
click
in class org.openqa.selenium.interactions.Actions
public Actions clickAndHold(org.openqa.selenium.WebElement onElement)
clickAndHold
in class org.openqa.selenium.interactions.Actions
public Actions clickAndHold()
clickAndHold
in class org.openqa.selenium.interactions.Actions
public Actions contextClick(org.openqa.selenium.WebElement onElement)
contextClick
in class org.openqa.selenium.interactions.Actions
public Actions contextClick()
contextClick
in class org.openqa.selenium.interactions.Actions
public Actions doubleClick(org.openqa.selenium.WebElement onElement)
doubleClick
in class org.openqa.selenium.interactions.Actions
public Actions doubleClick()
doubleClick
in class org.openqa.selenium.interactions.Actions
public Actions dragAndDrop(org.openqa.selenium.WebElement source, org.openqa.selenium.WebElement target)
dragAndDrop
in class org.openqa.selenium.interactions.Actions
public Actions dragAndDropBy(org.openqa.selenium.WebElement source, int xOffset, int yOffset)
dragAndDropBy
in class org.openqa.selenium.interactions.Actions
public Actions keyDown(org.openqa.selenium.Keys theKey)
keyDown
in class org.openqa.selenium.interactions.Actions
public Actions keyDown(org.openqa.selenium.WebElement element, org.openqa.selenium.Keys theKey)
keyDown
in class org.openqa.selenium.interactions.Actions
public Actions keyUp(org.openqa.selenium.Keys theKey)
keyUp
in class org.openqa.selenium.interactions.Actions
public Actions keyUp(org.openqa.selenium.WebElement element, org.openqa.selenium.Keys theKey)
keyUp
in class org.openqa.selenium.interactions.Actions
public Actions moveByOffset(int xOffset, int yOffset)
moveByOffset
in class org.openqa.selenium.interactions.Actions
public Actions moveToElement(org.openqa.selenium.WebElement toElement)
moveToElement
in class org.openqa.selenium.interactions.Actions
public Actions moveToElement(org.openqa.selenium.WebElement toElement, int xOffset, int yOffset)
moveToElement
in class org.openqa.selenium.interactions.Actions
public Actions release(org.openqa.selenium.WebElement onElement)
release
in class org.openqa.selenium.interactions.Actions
public Actions release()
release
in class org.openqa.selenium.interactions.Actions
public Actions sendKeys(CharSequence... keysToSend)
sendKeys
in class org.openqa.selenium.interactions.Actions
public Actions sendKeys(org.openqa.selenium.WebElement element, CharSequence... keysToSend)
sendKeys
in class org.openqa.selenium.interactions.Actions
public 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.