public class WebdriverInstances extends Object
Modifier and Type | Class and Description |
---|---|
class |
WebdriverInstances.InstanceRegistration |
Constructor and Description |
---|
WebdriverInstances() |
Modifier and Type | Method and Description |
---|---|
Set<org.openqa.selenium.WebDriver> |
closeAllDrivers() |
org.openqa.selenium.WebDriver |
closeCurrentDriver() |
boolean |
driverIsRegisteredFor(String driverName) |
int |
getActiveWebdriverCount() |
org.openqa.selenium.WebDriver |
getCurrentDriver() |
String |
getCurrentDriverName() |
WebdriverInstances.InstanceRegistration |
registerDriverCalled(String driverName) |
void |
resetCurrentDriver() |
org.openqa.selenium.WebDriver |
useDriver(String driverName) |
public org.openqa.selenium.WebDriver getCurrentDriver()
public String getCurrentDriverName()
public org.openqa.selenium.WebDriver closeCurrentDriver()
public void resetCurrentDriver()
public boolean driverIsRegisteredFor(String driverName)
public org.openqa.selenium.WebDriver useDriver(String driverName)
public Set<org.openqa.selenium.WebDriver> closeAllDrivers()
public int getActiveWebdriverCount()
public WebdriverInstances.InstanceRegistration registerDriverCalled(String driverName)
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.