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, List<org.openqa.selenium.Keys> holdingKeys)
    • 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

      protected void clickViaJS(Driver driver, org.openqa.selenium.WebElement element, int offsetX, int offsetY, List<org.openqa.selenium.Keys> holdingKeys)
    • toClickEventOptions

      protected Map<String,Boolean> toClickEventOptions(List<org.openqa.selenium.Keys> keys)