Avoid bot detection with Selenium and Python3

I got this error:

c:/Users/Hnn Mft/Downloads/selenium-stealth-main/script.py:12: DeprecationWarning: executable_path has been deprecated, please pass in a Service object driver = webdriver.Chrome(options=options, executable_path=r"C:\Program Files\chromedriver.exe")DevTools listening on ws://127.0.0.1:65319/devtools/browser/3af469a8-2bf4-4c34-9bee-8af1fdfad247[32284:8864:0220/195637.294:ERROR:chrome_browser_main_extra_parts_metrics.cc(227)] START: ReportBluetoothAvailability(). If you don't see the END: message, this is crbug.com/1216328.[32284:8864:0220/195637.295:ERROR:chrome_browser_main_extra_parts_metrics.cc(230)] END: ReportBluetoothAvailability()[32284:8864:0220/195637.297:ERROR:chrome_browser_main_extra_parts_metrics.cc(235)] START: GetDefaultBrowser(). If you don't see the END: message, this is crbug.com/1216328.[32284:39988:0220/195637.300:ERROR:device_event_log_impl.cc(214)] [19:56:37.299] USB: usb_service_win.cc:354 Could not get child device's service name: ╔lÚment introuvable. (0x490)[32284:39988:0220/195637.310:ERROR:device_event_log_impl.cc(214)] [19:56:37.310] USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection: Un pÚriphÚrique attachÚ au systÞme ne fonctionne pas correctement. (0x1F)[32284:39988:0220/195637.313:ERROR:device_event_log_impl.cc(214)] [19:56:37.313] USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection: Un pÚriphÚrique attachÚ au systÞme ne fonctionne pas correctement. (0x1F)[32284:8864:0220/195637.361:ERROR:chrome_browser_main_extra_parts_metrics.cc(239)] END: GetDefaultBrowser()

/r/webscraping Thread Parent