使 Selenium 无法检测到 (Python)

Make Selenium undetectable (Python)

如何让硒检测不到?如果我可以使用 selenium 绕过 recaptcha,我会尝试做一个小实验。但是 google 检测到它是一个机器人并说 Your computer or network may be sending automated queries. To protect our users, we can't process your request right now. For more details visit our help page.

我尝试了什么:

cool_options.add_extension('buster.crx') # Extention to solve captchas
cool_options.add_experimental_option('excludeSwitches', ['enable-automation']) #Remove "chrome is controlled by automated testsoftware"
cool_options.add_argument('window-size=1146,671') # Change window size
cool_options.add_argument('user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36') # Add useragent

我还为每个动作添加了随机等待时间

尝试实现这个 chromedriver:https://github.com/ultrafunkamsterdam/undetected-chromedriver