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(java.lang.Class<? extends org.openqa.selenium.WebDriver> webDriverClass,
ConfigurationProperties configuration,
java.lang.Object... args)
Creates a new instance of web driver.
|
protected org.openqa.selenium.WebDriver |
newRemoteWebDriver(java.lang.Object... args)
Creates a new remote WebDriver instance
|
getNames, getWebDriverClass, isAvailable, newDefaultCapabilities, newWebDriverpublic RemoteWebDriverFactory()
protected org.openqa.selenium.WebDriver newInstance(java.lang.Class<? extends org.openqa.selenium.WebDriver> webDriverClass,
ConfigurationProperties configuration,
java.lang.Object... args)
throws java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
ReflectiveWebDriverFactorynewInstance in class ReflectiveWebDriverFactorywebDriverClass - web driver classconfiguration - configurationargs - web driver class constructor argumentsjava.lang.reflect.InvocationTargetException - if the underlying constructor
throws an exception.java.lang.NoSuchMethodException - if a matching method is not found.java.lang.InstantiationException - if the class that declares the
underlying constructor represents an abstract class.java.lang.IllegalAccessException - if this Constructor object
is enforcing Java language access control and the underlying
constructor is inaccessible.protected org.openqa.selenium.WebDriver newRemoteWebDriver(java.lang.Object... args)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
args - WebDriver constructor argumentsjava.lang.NoSuchMethodException - if a matching method is not found.java.lang.IllegalAccessException - if this Constructor object
is enforcing Java language access control and the underlying
constructor is inaccessible.java.lang.InstantiationException - if the class that declares the
underlying constructor represents an abstract class.java.lang.reflect.InvocationTargetException - if the underlying constructor
throws an exception.Copyright © 2018 FluentLenium. All Rights Reserved.