Package com.codeborne.selenide.commands
Class Click
java.lang.Object
com.codeborne.selenide.commands.Click
- All Implemented Interfaces:
Command<SelenideElement>
- Direct Known Subclasses:
AppiumClick
,DoubleClick
@ParametersAreNonnullByDefault
public class Click
extends Object
implements Command<SelenideElement>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected 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) protected void
defaultClick
(Driver driver, org.openqa.selenium.WebElement element) protected void
defaultClick
(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY) execute
(SelenideElement proxy, WebElementSource locator, Object[] args) protected org.openqa.selenium.WebElement
findElement
(WebElementSource locator)
-
Constructor Details
-
Click
public Click()
-
-
Method Details
-
execute
@Nonnull public SelenideElement execute(SelenideElement proxy, WebElementSource locator, @Nullable Object[] args) - Specified by:
execute
in interfaceCommand<SelenideElement>
-
findElement
@Nonnull @CheckReturnValue protected org.openqa.selenium.WebElement findElement(WebElementSource locator) -
click
-
click
protected void click(Driver driver, org.openqa.selenium.WebElement webElement, ClickOptions clickOptions) -
defaultClick
-
defaultClick
protected void defaultClick(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY) -
clickViaJS
protected void clickViaJS(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY)
-