ImportError: cannot import name 'webdriver'
Question: I am newbie for selenium python. I have installed pyhton, pip etc.. I am
trying to run the below code but it is showing error ImportError: cannot
import name 'webdriver'

    
    
    from selenium import webdriver
    from selenium.webdriver.common.keys import Keys
    
    driver = webdriver.Firefox()
    driver.get("http://www.python.org")
    

could anyone please solve this issue?


Answer: if your file name is **selenium** change it to something else and delete .pyc
files too.

