Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

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

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 10 wyświetleń
  • Ostatnia odpowiedź od 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.

Wszystkie odpowiedzi (2)

more options

Appreciate a quick help on this...