You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "script.py", line 27, in
browser = webdriver.Chrome(capabilities=caps)
TypeError: init() got an unexpected keyword argument 'capabilities'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "script.py", line 32, in
browser = webdriver.Firefox(capabilities=caps)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/firefox/webdriver.py", line 164, in init
self.service.start()
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: 'geckodriver'
The text was updated successfully, but these errors were encountered:
Tente executar direto no terminal e veja se você instalou o geckodrive para o firefox, o link do repositório é para mac, tem que mudar para o sistema que você esta usando.
depois que eu coloco a senha ta dando esse erro.
Traceback (most recent call last):
File "script.py", line 27, in
browser = webdriver.Chrome(capabilities=caps)
TypeError: init() got an unexpected keyword argument 'capabilities'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "script.py", line 32, in
browser = webdriver.Firefox(capabilities=caps)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/firefox/webdriver.py", line 164, in init
self.service.start()
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: 'geckodriver'
The text was updated successfully, but these errors were encountered: