public class WebDriverCache extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WebDriverCache.SessionIdAliasWebDriverTuple |
| Constructor and Description |
|---|
WebDriverCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeAll() |
org.openqa.selenium.WebDriver |
getCurrent() |
String |
getCurrentSessionId() |
Collection<WebDriverCache.SessionIdAliasWebDriverTuple> |
getWebDrivers() |
String |
register(org.openqa.selenium.WebDriver webDriver,
String alias) |
void |
switchBrowser(String sessionIdOrAlias) |
public org.openqa.selenium.WebDriver getCurrent()
public String getCurrentSessionId()
public void close()
public void closeAll()
public void switchBrowser(String sessionIdOrAlias)
public Collection<WebDriverCache.SessionIdAliasWebDriverTuple> getWebDrivers()
Copyright © 2014. All rights reserved.