2

I've being trying so hard to figure out what's going on with my code, but I couldn't help. Whenever I run my program I got this error in the picture bellow. I'm using python 3.4.4 and selenium last version of it.

Windows 10

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title
elem = driver.find_element_by_name("q")
elem.clear()
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)
assert "No results found." not in driver.page_source
driver.close()

Error Picture

Steve Buro
  • 23
  • 4

1 Answers1

2

You didn't mention what your FF version is, I assume it's one of the latest. Anyways you need to use FF below 47 or time to switch to MarionetteDriver

here is some useful information Selenium 2.53 not working on Firefox 47

Hope it helps, cheers.

Community
  • 1
  • 1
GreenZ
  • 36
  • 4