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
-
-
Constructor Summary
Constructors Constructor Description SerenityActions(org.openqa.selenium.WebDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods 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, CharSequence key)
org.openqa.selenium.interactions.Actions
keyUp(org.openqa.selenium.WebElement target, 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, CharSequence... keys)
-
-
-
Method Detail
-
keyDown
public org.openqa.selenium.interactions.Actions keyDown(org.openqa.selenium.WebElement target, CharSequence key)
- Overrides:
keyDown
in classorg.openqa.selenium.interactions.Actions
-
keyUp
public org.openqa.selenium.interactions.Actions keyUp(org.openqa.selenium.WebElement target, CharSequence key)
- Overrides:
keyUp
in classorg.openqa.selenium.interactions.Actions
-
sendKeys
public org.openqa.selenium.interactions.Actions sendKeys(org.openqa.selenium.WebElement target, 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
-
-