D - concrete webDriver implementation class@Deprecated public interface WebDriverConfigurationParticipant<D extends org.openqa.selenium.WebDriver>
WebDriver instances created by a SeleniumProvider.
Use SeleniumProvider.addWebDriverConfigurationParticipant(WebDriverConfigurationParticipant) to
make your WebDriverConfigurationParticipant work.
Example: setting window size using postConstruct(WebDriver) method.
It makes possible to encapsulate some configuration aspects, which you can reuse with different kind of
WebDriver instances created by different implementations of SeleniumProvider.
| Modifier and Type | Method and Description |
|---|---|
default void |
addDesiredCapabilities(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
Deprecated.
Can add desired capabilities to a
WebDriver before it gets created. |
default void |
postConstruct(D webDriver)
Deprecated.
Can make some changes on a newly created
WebDriver before it gets used. |
default void addDesiredCapabilities(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
WebDriver before it gets created.desiredCapabilities - desired capabilities object, which can be adjusteddefault void postConstruct(D webDriver)
WebDriver before it gets used.webDriver - webdriver to be changedCopyright © 2019 willhaben internet service GmbH & Co KG. All rights reserved.