Start selenium with firefox.
Sat Dec 11, 2010 11:49 am
Hi Guys,
Use the same code as mentioned in "Working with IE" link just replace the following with :
For IE : // Instantiate the Internet Explorer browser.
WebDriver oWebDriver = new InternetExplorerDriver();
For Firefox : // Instantiate the Firefox browser with profile.
FirefoxProfile firefoxProfile = new FirefoxProfile();
WebDriver driver = new FirefoxDriver(firefoxProfile);
Note: Use this in the sample code for IE in previous thread.
Best of luck
Use the same code as mentioned in "Working with IE" link just replace the following with :
For IE : // Instantiate the Internet Explorer browser.
WebDriver oWebDriver = new InternetExplorerDriver();
For Firefox : // Instantiate the Firefox browser with profile.
FirefoxProfile firefoxProfile = new FirefoxProfile();
WebDriver driver = new FirefoxDriver(firefoxProfile);
Note: Use this in the sample code for IE in previous thread.
Best of luck
- How to start with Selenium 2 & C# ?
- Warning: Unresponsive script on Firefox 11, Firefox 12, Firefox 13 on selenium-server-standalone-2.x
- start firefox with new profile.
- Could not start Selenium session: Failed to start new browser session: Error while launching browser
- start selenium 2 with Internet Explorer.
Permissions in this forum:
You cannot reply to topics in this forum