在用robotframework编写移动端测试用例(用chrome浏览器模拟手机浏览器),执行用例时,

报错selenium.common.exceptions.WebDriverException: Message: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html

执行报错后,robotframework截图的关键字也没有执行截图的操作

 

解决办法:

升级chromedriver.exe,下载了新的chromedriver版本,支持chrome浏览器59版本,更新后,再执行用例就不出现错误,并且也能正常的截图

相关文章:

  • 2021-09-02
  • 2021-05-10
  • 2021-07-09
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2022-12-23
  • 2021-07-24
猜你喜欢
  • 2022-12-23
  • 2021-10-19
  • 2021-06-08
  • 2021-10-21
  • 2021-05-24
相关资源
相似解决方案