Earn Money in 10 days

Selenium Videos

Protractor In Selenium

Livechat

Showing posts with label How to launch firefox browser in selenium. Show all posts
Showing posts with label How to launch firefox browser in selenium. Show all posts

Saturday, 8 November 2014

How to open Firefox Browser using selenium

How To launch Firefox Browser in Selenium.

Step1:First configure jar file in your project(How to configure click here)       Then write a small script which i have added below. 

Code for launching firefox browser.

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class LaunchFirefox {
public static void main(String[] args) {
//Launching firefox Browser
WebDriver driver = new FirefoxDriver();
driver.get("https://gmail.com");
}
}

Popular Posts

 
subscribe
Subscribe Us
emailSubscribe to our mailing list to get the updates to your email inbox... We can't wait more to have your email in our subscribers email list. Just put your nice email in below box: