1. org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32603,"message":"Cannot navigate to invalid URL"}

    解决办法是将get方法里的url写成带http头的就行了,如driver.get("http://www.baidu.com");不带“http://”的就会报invalid URL

 

相关文章:

  • 2022-01-10
  • 2022-12-23
  • 2021-05-27
  • 2021-07-25
  • 2021-10-03
  • 2021-08-08
  • 2021-08-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-12
  • 2021-11-26
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案