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
c:/Users/Rozhkov/Documents/chrome/213.py
Traceback (most recent call last):
File "c:\Users\Rozhkov\Documents\chrome\213.py", line 10, in
driver = undetected_chromedriver.Chrome(options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Rozhkov\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver_init_.py", line 372, in init
options.binary_location = (
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Rozhkov\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\chromium\options.py", line 52, in binary_location
raise TypeError(self.BINARY_LOCATION_ERROR)
TypeError: Binary Location Must be a String
PS C:\Users\Rozhkov>
How to fix that on windows?
The text was updated successfully, but these errors were encountered:
`from selenium import webdriver
import undetected_chromedriver
proxy = "ip_address:port"
options = webdriver.ChromeOptions()
options.add_argument(f'--proxy-server={proxy}')
driver = undetected_chromedriver.Chrome(options=options)
driver.get("http://example.com")`
c:/Users/Rozhkov/Documents/chrome/213.py
Traceback (most recent call last):
File "c:\Users\Rozhkov\Documents\chrome\213.py", line 10, in
driver = undetected_chromedriver.Chrome(options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Rozhkov\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver_init_.py", line 372, in init
options.binary_location = (
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Rozhkov\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\chromium\options.py", line 52, in binary_location
raise TypeError(self.BINARY_LOCATION_ERROR)
TypeError: Binary Location Must be a String
PS C:\Users\Rozhkov>
How to fix that on windows?
The text was updated successfully, but these errors were encountered: