selenium 开启开发者工具(F12)

options = webdriver.ChromeOptions();
options.add_argument("--auto-open-devtools-for-tabs");
driver = webdriver.Chrome(chrome_options=options);

启动浏览器时会自动打开开发者工具

相关文章:

  • 2021-11-05
  • 2021-06-15
  • 2022-03-03
  • 2021-08-28
  • 2021-10-24
  • 2021-12-19
  • 2021-11-20
猜你喜欢
  • 2022-01-08
  • 2022-01-03
  • 2022-12-23
  • 2021-09-28
  • 2021-12-25
  • 2021-09-15
  • 2021-08-09
相关资源
相似解决方案