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