Class WebDriverBrowserValidationsBuilder

java.lang.Object
com.shaft.validation.WebDriverBrowserValidationsBuilder

public class WebDriverBrowserValidationsBuilder extends Object
  • Constructor Details

    • WebDriverBrowserValidationsBuilder

      public WebDriverBrowserValidationsBuilder(com.shaft.validation.ValidationEnums.ValidationCategory validationCategory, org.openqa.selenium.WebDriver driver, StringBuilder reportMessageBuilder)
  • Method Details

    • attribute

      public NativeValidationsBuilder attribute(String browserAttribute)
      Use this to check against a certain browser attribute
      Parameters:
      browserAttribute - the target browser attribute that will be checked against
      Returns:
      a NativeValidationsBuilder object to continue building your validation
    • attribute

      Deprecated.
      Use this to check against a certain browser attribute
      Parameters:
      browserAttribute - the target browser attribute that will be checked against
      Returns:
      a NativeValidationsBuilder object to continue building your validation
    • url

      Use this to check against the current page URL
      Returns:
      a NativeValidationsBuilder object to continue building your validation
    • title

      public NativeValidationsBuilder title()
      Use this to check against the current page title
      Returns:
      a NativeValidationsBuilder object to continue building your validation