Manual and Automated Testing
›
WebDriver (aka Selenium 2.0)
Search
everywhere
only in this topic
Advanced Search
Webdriver equivalent for DefaultSelenium
Classic
List
Threaded
♦
♦
Locked
2 messages
Ashwin
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Webdriver equivalent for DefaultSelenium
Hi,
I am using WebDriverBackedSelenium() API to migrate from Selenium RC to Webdriver.
DefalutSelenium selenium;
public class testNew(DefaultSelenium selenium)
{
selenium = sel
}
what is the equivalent way to do in wedriver
I have done
WebDriver driver() = new FirefoxDriver()
Selenium selenium = new WebDriverBackedSelenium(driver,baseUrl);
what i need to pass to the testNew parameter in these case ?
Thanks,
Ashwin
softwaretestingforum
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Webdriver equivalent for DefaultSelenium
Administrator
You could use -
WebDriver driver;
public class testNew(WebDriver driver)
{
this.driver = driver
}
~ seleniumtests.com
Free forum by Nabble
Edit this page