79484677

Date: 2025-03-04 19:35:08
Score: 1.5
Natty:
Report link

Just remove

  1. "user_data_dir = os.path.expanduser("~\AppData\Local\Google\Chrome\User Data").replace("\","/")
  2. chrome_options.add_argument(f"--user-data-dir={user_data_dir}")"
  3. service = Service(executable_path="chromedriver.exe")

Those are not needed for the latest Selenium and keep everything to the basic defaults

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: DeLaphante