public class TestdriverManager extends Object
| Constructor and Description |
|---|
TestdriverManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyDriver(String method)
Destroy the driver for a method.
|
org.openqa.selenium.WebDriver |
driver()
Return the driver for the test calling this method.
|
org.openqa.selenium.WebDriver |
getDriver(String method)
Get the driver for a method
|
Set<String> |
getDriverSet()
Get all the testEssentials.
|
String |
getUuid(String method)
Get the UUID for the specified test.
|
TestdriverLogger |
logger()
Return the logger for the test calling this method.
|
void |
setDriver(String method,
org.openqa.selenium.WebDriver driver,
TestdriverLogger logger)
Set the driver for a given method.
|
public void setDriver(String method, org.openqa.selenium.WebDriver driver, TestdriverLogger logger)
method - the method with which to associate the driver.driver - the driver to use.logger - the logger to use.public org.openqa.selenium.WebDriver getDriver(String method)
method - the method for which we want the driver.public String getUuid(String method)
method - the method name of the test.public void destroyDriver(String method)
method - the method for which we want to destroy the driver.public Set<String> getDriverSet()
public org.openqa.selenium.WebDriver driver()
public TestdriverLogger logger()
Copyright © 2016. All rights reserved.