public class WebDriverCreator extends Object
| Constructor and Description |
|---|
WebDriverCreator(Config config) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebDriver |
createLocalWebDriver(Class<?> browserClass,
org.openqa.selenium.Capabilities capabilities) |
org.openqa.selenium.WebDriver |
createRemoteWebDriver(String remoteUrl,
org.openqa.selenium.Capabilities capabilities) |
String |
getSessionId(org.openqa.selenium.WebDriver webDriver) |
public WebDriverCreator(Config config)
public org.openqa.selenium.WebDriver createLocalWebDriver(Class<?> browserClass, org.openqa.selenium.Capabilities capabilities) throws InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
public org.openqa.selenium.WebDriver createRemoteWebDriver(String remoteUrl, org.openqa.selenium.Capabilities capabilities)
public String getSessionId(org.openqa.selenium.WebDriver webDriver)
Copyright © 2022. All rights reserved.