Class Click

java.lang.Object
com.codeborne.selenide.FluentCommand
com.codeborne.selenide.commands.Click
All Implemented Interfaces:
Command<SelenideElement>
Direct Known Subclasses:
AppiumClick, DoubleClick

public class Click extends FluentCommand
  • Constructor Details

    • Click

      public Click()
  • Method Details

    • execute

      public void execute(WebElementSource locator, Object @Nullable [] args)
      Specified by:
      execute in class FluentCommand
    • options

      protected ClickOptions options(Object @Nullable [] args)
    • findElement

      protected org.openqa.selenium.WebElement findElement(WebElementSource locator, boolean force)
    • click

      protected void click(Driver driver, org.openqa.selenium.WebElement webElement, ClickOptions clickOptions)
    • defaultClick

      protected void defaultClick(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY)
    • isCenter

      protected boolean isCenter(int offsetX, int offsetY)
    • clickViaJS

      protected void clickViaJS(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY)