python - TypeError: 'module' object is not callable ( when importing selenium ) -


i have problem when running code :

>>> selenium import webdriver >>> driver = webdriver.firefox() traceback (most recent call last): file "<pyshell#19>", line 1, in <module> driver = webdriver.firefox() typeerror: 'module' object not callable 

i have searched problem , got results. unfortunately , didn't work. , how can solve this?

thanks.

you have made typo.

webdriver.firefox() 

note capital f.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -