Package com.shaft.validation.internal
Class WebDriverBrowserValidationsBuilder
java.lang.Object
com.shaft.validation.internal.WebDriverBrowserValidationsBuilder
-
Constructor Summary
ConstructorDescriptionWebDriverBrowserValidationsBuilder
(ValidationEnums.ValidationCategory validationCategory, org.openqa.selenium.WebDriver driver, StringBuilder reportMessageBuilder) -
Method Summary
-
Constructor Details
-
WebDriverBrowserValidationsBuilder
public WebDriverBrowserValidationsBuilder(ValidationEnums.ValidationCategory validationCategory, org.openqa.selenium.WebDriver driver, StringBuilder reportMessageBuilder)
-
-
Method Details
-
attribute
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
Use this to check against the current page title- Returns:
- a NativeValidationsBuilder object to continue building your validation
-