public static class DefaultWebDriverFactories.RemoteWebDriverFactory extends ReflectiveWebDriverFactory
args, available, name, webDriverClass, webDriverClassName| Constructor and Description |
|---|
RemoteWebDriverFactory()
Creates a new remote WebDriver factory.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.openqa.selenium.WebDriver |
newInstance(Class<? extends org.openqa.selenium.WebDriver> webDriverClass,
ConfigurationProperties configuration,
Object... args)
Creates a new instance of web driver.
|
protected org.openqa.selenium.WebDriver |
newRemoteWebDriver(Object... args)
Creates a new remote WebDriver instance
|
getNames, getWebDriverClass, isAvailable, newDefaultCapabilities, newWebDriverpublic RemoteWebDriverFactory()
protected org.openqa.selenium.WebDriver newInstance(Class<? extends org.openqa.selenium.WebDriver> webDriverClass, ConfigurationProperties configuration, Object... args) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException
ReflectiveWebDriverFactorynewInstance in class ReflectiveWebDriverFactorywebDriverClass - web driver classconfiguration - configurationargs - web driver class constructor argumentsInvocationTargetException - if the underlying constructor
throws an exception.NoSuchMethodException - if a matching method is not found.InstantiationException - if the class that declares the
underlying constructor represents an abstract class.IllegalAccessException - if this Constructor object
is enforcing Java language access control and the underlying
constructor is inaccessible.protected org.openqa.selenium.WebDriver newRemoteWebDriver(Object... args) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
args - WebDriver constructor argumentsNoSuchMethodException - if a matching method is not found.IllegalAccessException - if this Constructor object
is enforcing Java language access control and the underlying
constructor is inaccessible.InstantiationException - if the class that declares the
underlying constructor represents an abstract class.InvocationTargetException - if the underlying constructor
throws an exception.Copyright © 2016 FluentLenium. All Rights Reserved.