-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Microsoft Windows [Version 10.0.26200.7623]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
C:\Windows\System32>C:\Users\Personal Computer\Desktop\ArchdailyProjectDownloader-master
"C:\Users\Personal" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
C:\Windows\System32>cd C:\Users\Personal Computer\Desktop\ArchdailyProjectDownloader-master
C:\Users\Personal Computer\Desktop\ArchdailyProjectDownloader-master> python main.py
Traceback (most recent call last):
File "C:\Users\Personal Computer\Desktop\ArchdailyProjectDownloader-master\main.py", line 17, in
driver = webdriver.Chrome(chromedriver)
File "C:\Users\Personal Computer\AppData\Local\Programs\Python\Python314\Lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in init
super().init(
~~~~~~~~~~~~~~~~^
browser_name=DesiredCapabilities.CHROME["browserName"],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
keep_alive=keep_alive,
^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\Personal Computer\AppData\Local\Programs\Python\Python314\Lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in init
if finder.get_browser_path():
~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\Personal Computer\AppData\Local\Programs\Python\Python314\Lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
return self._binary_paths()["browser_path"]
~~~~~~~~~~~~~~~~~~^^
File "C:\Users\Personal Computer\AppData\Local\Programs\Python\Python314\Lib\site-packages\selenium\webdriver\common\driver_finder.py", line 56, in _binary_paths
browser = self._options.capabilities["browserName"]
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'capabilities'