public interface SessionFactory
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(Map<String,String> options)
Cleans up the session - closed all taks
|
org.openqa.selenium.remote.DesiredCapabilities |
createCapabilities(Map<String,String> options) |
Map<String,String> |
createDefaultOptions() |
org.openqa.selenium.WebDriver |
createInnerDriver(Map<String,String> options,
org.openqa.selenium.remote.DesiredCapabilities capabilities) |
ExtWebDriver |
createNewSession(Map<String,String> options,
org.openqa.selenium.WebDriver wd) |
void cleanup(Map<String,String> options) throws Exception
options - the options for cleaning upExceptionorg.openqa.selenium.remote.DesiredCapabilities createCapabilities(Map<String,String> options) throws Exception
options - the options you want the capabilities instance to haveExceptionorg.openqa.selenium.WebDriver createInnerDriver(Map<String,String> options, org.openqa.selenium.remote.DesiredCapabilities capabilities) throws Exception
options - the options passed on to the webdriver instancecapabilities - the capabilities you want webdriver to haveExceptionExtWebDriver createNewSession(Map<String,String> options, org.openqa.selenium.WebDriver wd)
options - options for the sessionwd - the instance of WebDriverCopyright © 2018. All rights reserved.