Package com.goate.selenium.staff
Class RemoteWebDriver
java.lang.Object
com.goate.selenium.staff.GoateDriver
com.goate.selenium.staff.RemoteWebDriver
Returns a new chrome web driver.
Created by Eric Angeli on 6/28/2017.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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
addCapability, detectOS, getDc, setPathToDriver
-
Constructor Details
-
RemoteWebDriver
public RemoteWebDriver()
-
-
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.
-
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.
-
remote
-