Issue
i have problem when running this code :
>>> from selenium import webdriver
>>> driver = webdriver.firefox()
Traceback (most recent call last):
File "<pyshell#19>", line 1, in <module>
driver = webdriver.firefox()
TypeError: 'module' object is not callable
i have searched for the problem and i got some results. but unfortunately , they didn't work. So , how can i solve this?
thanks.
Solution
You have made a typo.
webdriver.Firefox()
Note the capital F.
Answered By - Tadgh
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.