Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

  • 2 risposte
  • 1 ha questo problema
  • 1 visualizzazione
  • Ultima risposta di user1359215

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.

Tutte le risposte (2)

more options

Appreciate a quick help on this...