Go down
Posts : 383
Join date : 2009-07-30
Location : India

Start selenium with firefox.

on 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);

Use this in the sample code for IE in previous thread.

Best of luck Laughing
Back to top
Permissions in this forum:
You cannot reply to topics in this forum