Quaatso Education

Home Forums Selenium Forum Not able to open any page in firefox browser Reply To: Not able to open any page in firefox browser

Reply To: Not able to open any page in firefox browser

Home Forums Selenium Forum Not able to open any page in firefox browser Reply To: Not able to open any page in firefox browser

#4004

Shobhna Garg
Participant

Still facing the same issue My script is as follows:

import java.io.File;

 

import org.openqa.selenium.firefox.FirefoxDriver;

import org.openqa.selenium.firefox.FirefoxProfile;

 

 

 

public class InvokeBrowser {

 

public static void main(String[] args) {

 

File path = new File(“C:\\Users\\shobhna\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\8ogf6qo3.default”);

 

FirefoxProfile profile = new FirefoxProfile(path);

 

 

FirefoxDriver driver = new FirefoxDriver(profile);

 

driver.get(“https://www.facebook.com”);

 

}

 

}