Package com.goate.selenium.staff
Class ChromeWebDriver
java.lang.Object
com.goate.selenium.staff.GoateDriver
com.goate.selenium.staff.ChromeWebDriver
Returns a new chrome web driver.
Created by Eric Angeli on 6/28/2017.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCapability(String name, Object value) org.openqa.selenium.WebDriverbuild()Override this method and return an instance of the webdriver.
When instantiating, make sure to set the desired capabilities.protected org.openqa.selenium.MutableCapabilitiesOverride this method to return the capabilities for the implemented web driver.Methods inherited from class com.goate.selenium.staff.GoateDriver
detectOS, getDc, setPathToDriver
-
Constructor Details
-
ChromeWebDriver
public ChromeWebDriver()
-
-
Method Details
-
loadCapabilities
protected org.openqa.selenium.MutableCapabilities loadCapabilities()Description copied from class:GoateDriverOverride this method to return the capabilities for the implemented web driver.- Specified by:
loadCapabilitiesin classGoateDriver- Returns:
- The desired capabilities for the given driver.
-
addCapability
- Overrides:
addCapabilityin classGoateDriver
-
build
public org.openqa.selenium.WebDriver build()Description copied from class:GoateDriverOverride this method and return an instance of the webdriver.
When instantiating, make sure to set the desired capabilities.- Specified by:
buildin classGoateDriver- Returns:
- The new web driver.
-