Package net.thucydides.core.webdriver
Interface DriverSource
public interface DriverSource
You can implement this class to provide your own driver instance.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Used to indicate that the provided driver has not been specified by the driverType() method. -
Method Summary
Modifier and TypeMethodDescriptiondefault Class<? extends org.openqa.selenium.WebDriver>
Return the type of the webdriver being proxied.org.openqa.selenium.WebDriver
Return a new instance of a webdriverboolean
Return true if the driver is configured to take screenshots.
-
Method Details
-
newDriver
org.openqa.selenium.WebDriver newDriver()Return a new instance of a webdriver -
takesScreenshots
boolean takesScreenshots()Return true if the driver is configured to take screenshots. -
driverType
Return the type of the webdriver being proxied. Helps Serenity do internal stuff better.
-