public interface WebDriverFactory
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(java.util.Map<java.lang.String,java.lang.String> options)
Cleans up the session - closed all taks
|
org.openqa.selenium.remote.DesiredCapabilities |
createCapabilities(java.util.Map<java.lang.String,java.lang.String> options) |
java.util.Map<java.lang.String,java.lang.String> |
createDefaultOptions() |
org.openqa.selenium.WebDriver |
createWebDriver(java.util.Map<java.lang.String,java.lang.String> options,
org.openqa.selenium.remote.DesiredCapabilities capabilities) |
java.util.Map<java.lang.String,java.lang.String> createDefaultOptions()
void cleanup(java.util.Map<java.lang.String,java.lang.String> options)
throws java.lang.Exception
options - the options for cleaning upjava.lang.Exceptionorg.openqa.selenium.remote.DesiredCapabilities createCapabilities(java.util.Map<java.lang.String,java.lang.String> options)
throws java.lang.Exception
options - the options you want the capabilities instance to havejava.lang.Exceptionorg.openqa.selenium.WebDriver createWebDriver(java.util.Map<java.lang.String,java.lang.String> options,
org.openqa.selenium.remote.DesiredCapabilities capabilities)
throws java.io.IOException
options - the options passed on to the webdriver instancecapabilities - the capabilities you want webdriver to havejava.io.IOException - can't access the browser.Copyright © 2017 PPI AG. All rights reserved.