这一事实 硒驱动 / 被检测出_不依赖于任何特定的 _GeckoDriver 或 Firefox的 版本。该 网站 本身可以检测网络流量,并可以识别 浏览器客户端 ,即 Web浏览器 作为 。
根据 WebDriver Interface
的最新编辑草稿中的 ,当用户代理处于远程控制时,最初设置为 的标志 设置为 。
现在,该 接口不应在上公开 。
所以,
webdriver
Returns true if webdriver-active flag is set, false otherwise.
在哪里
navigator.webdriver
Defines a standard way for co-operating user agents to inform the document that it is controlled by WebDriver, for example so that alternate code paths can be triggered during automation.
因此,最重要的是:
但是,一些避免在网络抓取时被检测到的通用方法如下: