Home > other > Under the headless selenium is identified
Under the headless selenium is identified
Time:09-29
Using selenium crawl site information, in a normal mode can crawl, but after open the headless mode, under the browser print window. The navigator. Webdriver=true, excuse me what method can make the selenium not identified? Useful mixproxy injection js online, but not very understand, there is no find a good solution, if there is solution may contact [email protected]
CodePudding user response:
There is a way to try and set the parameters into the developer mode, in the case of a headless, is driven undetectable
Haven't tried the headless mode, can try
Option. Add_experimental_option (' excludeSwitches' [] 'enable - automation') # to join in the form of key/value pair parameter