Class Button

All Implemented Interfaces:
SpecificConditionHandler, ByLocator, SelenideElementWrapper<Button>

public class Button extends AbstractComponent<Button>
Web-element wrapper for button. Supports clicking and text checking.
  • Constructor Details

    • Button

      public Button(org.openqa.selenium.By by)
  • Method Details

    • click

      public Button click()
      Clicks on the button if it is possible.
      Returns:
      this to call fluent API