Class WebDriverBrowserValidationsBuilder

java.lang.Object
com.shaft.validation.internal.WebDriverBrowserValidationsBuilder
All Implemented Interfaces:
BrowserAssertions

public class WebDriverBrowserValidationsBuilder extends Object implements BrowserAssertions
  • Constructor Details

  • Method Details

    • attribute

      public NativeValidationsBuilder attribute(String browserAttribute)
      Use this to check against a certain browser attribute
      Specified by:
      attribute in interface BrowserAssertions
      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
      Specified by:
      url in interface BrowserAssertions
      Returns:
      a NativeValidationsBuilder object to continue building your validation
    • title

      public NativeValidationsBuilder title()
      Use this to check against the current page title
      Specified by:
      title in interface BrowserAssertions
      Returns:
      a NativeValidationsBuilder object to continue building your validation
    • text

      public NativeValidationsBuilder text()
      Use this to check against the current page text content.
      Specified by:
      text in interface BrowserAssertions
      Returns:
      a NativeValidationsBuilder object to continue building your validation