selenium被识别的解决方法

            ChromeDriver driver = new ChromeDriver(options);
            Map<String,Object> command = new HashMap<>();
            command.put("source","Object.defineProperty(navigator, 'webdriver', {get: () => undefined})");
            driver.executeCdpCommand("Page.addScriptToEvaluateOnNewDocument",command);

 

相关文章:

  • 2021-11-20
  • 2021-07-31
  • 2022-01-08
  • 2021-08-22
  • 2021-05-30
  • 2021-09-14
  • 2021-10-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2022-01-21
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案