Mariano Graziano Mariano Graziano - 1 year ago 85
Python Question

Reference to chrome when I try to open a URL with a Firefox webdriver using selenium

This code opens Firefox and gets the URL


What is the cause of this error?

from selenium import webdriver
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary

browser = webdriver.Firefox()

I'm using:

  • Selenium version 3.0.1

  • Python version 3.5.2

  • Firefox versions 50 and 45

Answer Source

Try your .get request with http:// or https:// in front of

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download