com.github.markusbernhardt.selenium2library.utils
Class WebDriverCache

java.lang.Object
  extended by com.github.markusbernhardt.selenium2library.utils.WebDriverCache

public class WebDriverCache
extends Object


Constructor Summary
WebDriverCache()
           
 
Method Summary
 void close()
           
 void close(org.openqa.selenium.WebDriver webDriver)
           
 void closeAll()
           
 org.openqa.selenium.WebDriver getCurrent()
           
 String getCurrentSessionId()
           
 Collection<org.openqa.selenium.WebDriver> getWebDrivers()
           
 String register(org.openqa.selenium.WebDriver webDriver, String alias)
           
 void switchBrowser(String sessionIdOrAlias)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDriverCache

public WebDriverCache()
Method Detail

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()

close

public void close(org.openqa.selenium.WebDriver webDriver)

closeAll

public void closeAll()

switchBrowser

public void switchBrowser(String sessionIdOrAlias)

getWebDrivers

public Collection<org.openqa.selenium.WebDriver> getWebDrivers()


Copyright © 2013. All Rights Reserved.