com.github.markusbernhardt.selenium2library.utils
Class WebDriverCache
java.lang.Object
com.github.markusbernhardt.selenium2library.utils.WebDriverCache
public class WebDriverCache
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebDriverCache
public WebDriverCache()
register
public String register(org.openqa.selenium.WebDriver webDriver,
String alias)
getCurrent
public org.openqa.selenium.WebDriver getCurrent()
getCurrentSessionId
public String getCurrentSessionId()
close
public void close()
closeAll
public void closeAll()
switchBrowser
public void switchBrowser(String sessionIdOrAlias)
getWebDrivers
public Collection<WebDriverCache.SessionIdAliasWebDriverTuple> getWebDrivers()
Copyright © 2013. All Rights Reserved.