This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

chrome://browser/content/ in the url when url is sent to firefox using selenium. please help.

more options

I created a webdriver object in selenium and instantiated for firefox driver.

Code is shown below: WebDriver driver; System.setProperty("webdriver.gecko.driver", "C:\\selenium-java\\geckodriver-v0.11.1-win32\\geckodriver.exe"); driver = new FirefoxDriver();

driver.get("www.yahoo.com");

How ever after firefox is launched , URL is being changed to chrome://browser/content/www.yahoo.com and giving below error:

File not found

Firefox can’t find the file at chrome://browser/content/www.yahoo.com.

   Check the file name for capitalization or other typing errors.
   Check to see if the file was moved, renamed or deleted.


Can anyone please help.

I have firefox with 49 version.

I created a webdriver object in selenium and instantiated for firefox driver. Code is shown below: WebDriver driver; System.setProperty("webdriver.gecko.driver", "C:\\selenium-java\\geckodriver-v0.11.1-win32\\geckodriver.exe"); driver = new FirefoxDriver(); driver.get("www.yahoo.com"); How ever after firefox is launched , URL is being changed to chrome://browser/content/www.yahoo.com and giving below error: File not found Firefox can’t find the file at chrome://browser/content/www.yahoo.com. Check the file name for capitalization or other typing errors. Check to see if the file was moved, renamed or deleted. Can anyone please help. I have firefox with 49 version.

All Replies (2)

more options

Appreciate a quick help on this...