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
Post a Comment