Package net.serenitybdd.core.pages
Class SerenityActions
java.lang.Object
org.openqa.selenium.interactions.Actions
net.serenitybdd.core.pages.SerenityActions
public class SerenityActions
extends org.openqa.selenium.interactions.Actions
-
Field Summary
Fields inherited from class org.openqa.selenium.interactions.Actions
action
-
Constructor Summary
Constructors Constructor Description SerenityActions(org.openqa.selenium.WebDriver driver)
-
Method Summary
Modifier and Type Method Description org.openqa.selenium.interactions.Actions
click(org.openqa.selenium.WebElement target)
org.openqa.selenium.interactions.Actions
clickAndHold(org.openqa.selenium.WebElement target)
org.openqa.selenium.interactions.Actions
contextClick(org.openqa.selenium.WebElement target)
org.openqa.selenium.interactions.Actions
doubleClick(org.openqa.selenium.WebElement target)
org.openqa.selenium.interactions.Actions
dragAndDrop(org.openqa.selenium.WebElement source, org.openqa.selenium.WebElement target)
org.openqa.selenium.interactions.Actions
dragAndDropBy(org.openqa.selenium.WebElement source, int xOffset, int yOffset)
org.openqa.selenium.interactions.Actions
keyDown(org.openqa.selenium.WebElement target, java.lang.CharSequence key)
org.openqa.selenium.interactions.Actions
keyUp(org.openqa.selenium.WebElement target, java.lang.CharSequence key)
org.openqa.selenium.interactions.Actions
moveToElement(org.openqa.selenium.WebElement target)
org.openqa.selenium.interactions.Actions
moveToElement(org.openqa.selenium.WebElement target, int xOffset, int yOffset)
org.openqa.selenium.interactions.Actions
release(org.openqa.selenium.WebElement target)
org.openqa.selenium.interactions.Actions
sendKeys(org.openqa.selenium.WebElement target, java.lang.CharSequence... keys)
Methods inherited from class org.openqa.selenium.interactions.Actions
build, click, clickAndHold, contextClick, doubleClick, keyDown, keyUp, moveByOffset, pause, pause, perform, release, sendKeys, tick, tick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SerenityActions
public SerenityActions(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
keyDown
public org.openqa.selenium.interactions.Actions keyDown(org.openqa.selenium.WebElement target, java.lang.CharSequence key)- Overrides:
keyDown
in classorg.openqa.selenium.interactions.Actions
-
keyUp
public org.openqa.selenium.interactions.Actions keyUp(org.openqa.selenium.WebElement target, java.lang.CharSequence key)- Overrides:
keyUp
in classorg.openqa.selenium.interactions.Actions
-
sendKeys
public org.openqa.selenium.interactions.Actions sendKeys(org.openqa.selenium.WebElement target, java.lang.CharSequence... keys)- Overrides:
sendKeys
in classorg.openqa.selenium.interactions.Actions
-
clickAndHold
public org.openqa.selenium.interactions.Actions clickAndHold(org.openqa.selenium.WebElement target)- Overrides:
clickAndHold
in classorg.openqa.selenium.interactions.Actions
-
release
public org.openqa.selenium.interactions.Actions release(org.openqa.selenium.WebElement target)- Overrides:
release
in classorg.openqa.selenium.interactions.Actions
-
click
public org.openqa.selenium.interactions.Actions click(org.openqa.selenium.WebElement target)- Overrides:
click
in classorg.openqa.selenium.interactions.Actions
-
doubleClick
public org.openqa.selenium.interactions.Actions doubleClick(org.openqa.selenium.WebElement target)- Overrides:
doubleClick
in classorg.openqa.selenium.interactions.Actions
-
moveToElement
public org.openqa.selenium.interactions.Actions moveToElement(org.openqa.selenium.WebElement target)- Overrides:
moveToElement
in classorg.openqa.selenium.interactions.Actions
-
moveToElement
public org.openqa.selenium.interactions.Actions moveToElement(org.openqa.selenium.WebElement target, int xOffset, int yOffset)- Overrides:
moveToElement
in classorg.openqa.selenium.interactions.Actions
-
contextClick
public org.openqa.selenium.interactions.Actions contextClick(org.openqa.selenium.WebElement target)- Overrides:
contextClick
in classorg.openqa.selenium.interactions.Actions
-
dragAndDrop
public org.openqa.selenium.interactions.Actions dragAndDrop(org.openqa.selenium.WebElement source, org.openqa.selenium.WebElement target)- Overrides:
dragAndDrop
in classorg.openqa.selenium.interactions.Actions
-
dragAndDropBy
public org.openqa.selenium.interactions.Actions dragAndDropBy(org.openqa.selenium.WebElement source, int xOffset, int yOffset)- Overrides:
dragAndDropBy
in classorg.openqa.selenium.interactions.Actions
-