T - The driver to be configured.public abstract class AbstractWebDriverConfiguration<T extends org.openqa.selenium.WebDriver> extends AdditionalProperties<Object,Object>
WebDriver configuration.| Constructor and Description |
|---|
AbstractWebDriverConfiguration() |
AbstractWebDriverConfiguration(Map<Object,Object> additionalProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.Capabilities |
getDefaultCapabilities()
Get the default driver capabilities.
|
String |
getPath()
Get the driver's path indicated by the path property.
|
abstract String |
getPathProperty()
Get the driver's path property.
|
org.openqa.selenium.Capabilities |
setDefaultCapabilities(org.openqa.selenium.Capabilities defaultCapabilities)
Set the default driver capabilities.
|
String |
setPath(String path)
Set the driver's path indicated by the path property.
|
T |
start(boolean managed)
Start new
WebDriver with default capabilities. |
abstract T |
start(boolean managed,
org.openqa.selenium.Capabilities other)
Start new
WebDriver with the default merged capabilities and other capabilities. |
additionalProperties, additionalProperties, toStringpublic AbstractWebDriverConfiguration(Map<Object,Object> additionalProperties)
public AbstractWebDriverConfiguration()
public abstract T start(boolean managed, org.openqa.selenium.Capabilities other)
WebDriver with the default merged capabilities and other capabilities.managed - If true, will be managed by the WebDriverManager. Otherwise, false.other - The other capabilities. (Null is accepted)WebDriver with the default merged capabilities and other capabilities.public T start(boolean managed)
WebDriver with default capabilities.managed - If true, will be managed by the WebDriverManager. Otherwise, false.WebDriver with default capabilities.public org.openqa.selenium.Capabilities getDefaultCapabilities()
public org.openqa.selenium.Capabilities setDefaultCapabilities(org.openqa.selenium.Capabilities defaultCapabilities)
defaultCapabilities - The default driver capabilities.public String getPath()
public String setPath(String path)
path - The driver's path.public abstract String getPathProperty()
Copyright © 2017. All rights reserved.