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 void
click
(Driver driver, org.openqa.selenium.WebElement webElement, ClickOptions clickOptions) protected void
clickViaJS
(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY, List<org.openqa.selenium.Keys> holdingKeys) protected void
defaultClick
(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY, List<org.openqa.selenium.Keys> holdingKeys) void
execute
(WebElementSource locator, Object @Nullable [] args) protected org.openqa.selenium.WebElement
findElement
(WebElementSource locator, boolean force) protected void
protected boolean
isCenter
(int offsetX, int offsetY) protected ClickOptions
protected void
releaseKeys
(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:
execute
in 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
-