Monday, 15 March 2010

python - ImportError: cannot import name 'webdriver' -


I am a newbie for selenium dragon. I have installed the track, PIP etc. I'm trying to run the code below, but this error is showing. Import: 'WebDriver' can not be imported by name

  Selenium from selenium import web device. .keys import keys driver = webdriver.firefox () driver.get ("http://www.python.org")  

Can anyone solve this problem?

If your file name is selenium , change it to something else And remove .pc files too.


No comments:

Post a Comment