RemoteWebDriver and DefaultSelenium can be used together, as indicated on this link . Therefore, for Java code, this will be:
RemoteWebDriver driver = RemoteWebDriver(DesiredCapabilities.firefox()); String sessionId = (String) driver.getCapabilities().getCapability("webdriver.remote.sessionid"); DefaultSelenium selenium = DefaultSelenium('localhost', '4444', '*webdriver', 'http://www.google.com'); selenium.start("webdriver.remote.sessionid=" + sessionId);
The emphasis is on the word *webdriver .
lolotron
source share