Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
- stdin=PIPE)
- File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 729, in __init__
- restore_signals, start_new_session)
- File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 1017, in _execute_child
- startupinfo)
- File "c:\Users\Gilbert\.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\lib\python\ptvsd\_vendored\pydevd\_pydev_bundle\pydev_monkey.py", line 488, in new_CreateProcess
- return getattr(_subprocess, original_name)(app_name, patch_arg_str_win(cmd_line), *args)
- FileNotFoundError: [WinError 2] Nie można odnaleźć określonego pliku
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "c:\Users\Gilbert\.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\ptvsd_launcher.py", line 43, in <module>
- main(ptvsdArgs)
- File "c:\Users\Gilbert\.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\lib\python\ptvsd\__main__.py", line 410, in main
- run()
- File "c:\Users\Gilbert\.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\lib\python\ptvsd\__main__.py", line 291, in run_file
- runpy.run_path(target, run_name='__main__')
- File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 263, in run_path
- pkg_name=pkg_name, script_name=fname)
- File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 96, in _run_module_code
- mod_name, mod_spec, pkg_name, script_name)
- File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code
- exec(code, run_globals)
- File "c:\Users\Gilbert\Desktop\pliki\programowanie\Ptyhon projekty\python.py", line 4, in <module>
- driver = webdriver.Firefox('C:\\Selenium drivers')
- File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 164, in __init__
- self.service.start()
- File "C:\Users\Gilbert\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 83, in start
- os.path.basename(self.path), self.start_error_message)
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement