org.jbehave.web.selenium
Class RemoteWebDriverProvider
java.lang.Object
org.jbehave.web.selenium.DelegatingWebDriverProvider
org.jbehave.web.selenium.RemoteWebDriverProvider
- All Implemented Interfaces:
- WebDriverProvider
- Direct Known Subclasses:
- SauceWebDriverProvider
public class RemoteWebDriverProvider
- extends DelegatingWebDriverProvider
Provides a RemoteWebDriver that connects to a URL specified by system
property "REMOTE_WEBDRIVER_URL" and allows to take screenshots.
The default DesiredCapabilities, specified by
defaultDesiredCapabilities(), are for Windows Firefox 3.6 allowing
screenshots.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
desiredCapabilities
protected org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities
RemoteWebDriverProvider
public RemoteWebDriverProvider()
RemoteWebDriverProvider
public RemoteWebDriverProvider(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
defaultDesiredCapabilities
public static org.openqa.selenium.remote.DesiredCapabilities defaultDesiredCapabilities()
initialize
public void initialize()
createRemoteURL
public URL createRemoteURL()
throws MalformedURLException
- Throws:
MalformedURLException
useVerbosity
public void useVerbosity(boolean verbose)
Copyright © 2011. All Rights Reserved.