Is RemoteWebDriver a replacement for DefaultSelenium in Selenium 2.0 or can the two be used in conjunction?
RemoteWebDriver is simply the driver for connecting to a remote selenium server. You can use WebDriver and old Selenium together with WebDriverBackedSelenium, which extends from DefaultSelenium.
RemoteWebDriver driver = new RemoteWebDriver(new URL("http://remoteServer:4444/wd/hub"), DesiredCapabilities.internetExplorer());
Selenium selenium = new WebDriverBackedSelenium(driver, START_URL);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With