Open obtim opened 3 years ago
Are you sure you have updated the driver path in main.py ? Or either test it with cmd and executing it with admin permission instead ?
DevTools listening on ws://127.0.0.1:17317/devtools/browser/61370dae-fe22-4dc2-9
955-3a4c980c1957
[]
Traceback (most recent call last):
File "main.py", line 45, in
Don't work in powershell
DevTools listening on ws://127.0.0.1:27741/devtools/browser/9c620152-351d-4379-a6ea-fc8226287199 Traceback (most recent call last): File "C:\Users\obtim\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py" , line 72, in start self.process = subprocess.Popen(cmd, env=self.env, File "C:\Users\obtim\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\obtim\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1307, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] Не удается найти указанный файл
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "main.py", line 36, in
driver = webdriver.Chrome(executable_path="/seleniumDrivers/")
File "C:\Users\obtim\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.p
y", line 73, in init
self.service.start()
File "C:\Users\obtim\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py"
, line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: '' executable needs to be in PATH. Please see https://sites.goog
le.com/a/chromium.org/chromedriver/home
PS C:\AsianOdds.com-Scrapper-main> [16152:14028:0602/101555.493:ERROR:device_event_log_impl.cc(214)] [10:15:55.494] FIDO : webauthn_api.cc:54 Windows WebAuthn API failed to load
and don't work in CygWin Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 72, in start self.process = subprocess.Popen(cmd, env=self.env, File "/usr/lib/python3.8/subprocess.py", line 854, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: 'chromedriver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "main.py", line 35, in
driver = webdriver.Chrome()
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init
self.service.start()
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 86, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home