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
# Set up the driver instance with options (including cookies)
options = uc.ChromeOptions()
# options.add_argument('--headless')
options.add_argument("--disable-blink-features")
options.add_argument("--disable-extensions")
driver = uc.Chrome(options=options, driver_executable_path='./chromedriver')
and this is the error
Traceback (most recent call last):
File "/home/minhaz/PycharmProjects/facebook-page-follower-scraper/scrap_followers.py", line 185, in <module>
driver = uc.Chrome()
^^^^^^^^^^^
File "/home/minhaz/PycharmProjects/facebook-page-follower-scraper/venv/lib/python3.11/site-packages/undetected_chromedriver/__init__.py", line 372, in __init__
options.binary_location = (
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/minhaz/PycharmProjects/facebook-page-follower-scraper/venv/lib/python3.11/site-packages/selenium/webdriver/chromium/options.py", line 54, in binary_location
raise TypeError(self.BINARY_LOCATION_ERROR)
TypeError: Binary Location Must be a String
The text was updated successfully, but these errors were encountered:
This is my code
and this is the error
The text was updated successfully, but these errors were encountered: