Package com.codeborne.selenide.commands
Class Click
java.lang.Object
com.codeborne.selenide.FluentCommand
com.codeborne.selenide.commands.Click
- All Implemented Interfaces:
Command<SelenideElement>
- Direct Known Subclasses:
AppiumClick,DoubleClick
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclick(Driver driver, org.openqa.selenium.WebElement webElement, ClickOptions clickOptions) protected voidclickViaJS(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY, List<org.openqa.selenium.Keys> holdingKeys) protected voiddefaultClick(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY, List<org.openqa.selenium.Keys> holdingKeys) voidexecute(WebElementSource locator, Object @Nullable [] args) protected org.openqa.selenium.WebElementfindElement(WebElementSource locator, boolean force) protected voidprotected booleanisCenter(int offsetX, int offsetY) protected ClickOptionsprotected voidreleaseKeys(org.openqa.selenium.interactions.Actions actions, List<org.openqa.selenium.Keys> holdingKeys) toClickEventOptions(List<org.openqa.selenium.Keys> keys) Methods inherited from class com.codeborne.selenide.FluentCommand
execute
-
Constructor Details
-
Click
public Click()
-
-
Method Details
-
execute
- Specified by:
executein classFluentCommand
-
options
-
findElement
-
click
protected void click(Driver driver, org.openqa.selenium.WebElement webElement, ClickOptions clickOptions) -
defaultClick
-
holdKeys
protected void holdKeys(org.openqa.selenium.interactions.Actions actions, List<org.openqa.selenium.Keys> keys) -
releaseKeys
protected void releaseKeys(org.openqa.selenium.interactions.Actions actions, List<org.openqa.selenium.Keys> holdingKeys) -
isCenter
protected boolean isCenter(int offsetX, int offsetY) -
clickViaJS
-
toClickEventOptions
-