Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Start selenium with firefox.

View previous topic View next topic Go down

Start selenium with firefox.

Post by Adviser 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);

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



Best of luck Laughing

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum