public class SharedWebDriver extends Object implements org.openqa.selenium.internal.WrapsDriver
WebDriver used by a test.| Constructor and Description |
|---|
SharedWebDriver(org.openqa.selenium.WebDriver driver,
Class<?> testClass,
String testName,
ConfigurationProperties.DriverLifecycle driverLifecycle)
Creates a new shared WebDriver.
|
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebDriver |
getDriver()
Get the underlying driver.
|
ConfigurationProperties.DriverLifecycle |
getDriverLifecycle()
Get the driver lifecycle of this shared driver.
|
Class<?> |
getTestClass()
Get the test class.
|
String |
getTestName()
Get the test name.
|
org.openqa.selenium.WebDriver |
getWrappedDriver() |
String |
toString() |
public SharedWebDriver(org.openqa.selenium.WebDriver driver,
Class<?> testClass,
String testName,
ConfigurationProperties.DriverLifecycle driverLifecycle)
driver - selenium WebDrivertestClass - test classtestName - test namedriverLifecycle - driver lifecyclepublic org.openqa.selenium.WebDriver getWrappedDriver()
getWrappedDriver in interface org.openqa.selenium.internal.WrapsDriverpublic org.openqa.selenium.WebDriver getDriver()
public Class<?> getTestClass()
public String getTestName()
public ConfigurationProperties.DriverLifecycle getDriverLifecycle()
Copyright © 2016 FluentLenium. All Rights Reserved.