zoukankan      html  css  js  c++  java
  • robotframework执行用例时,报错selenium.common.exceptions.WebDriverException: Message: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinl

    在用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版本,更新后,再执行用例就不出现错误,并且也能正常的截图

  • 相关阅读:
    html标签嵌套规则
    关于setTimeout和Promise执行顺序问题
    vue基础
    new操作符具体干了什么
    ["1", "2", "3"].map(parseInt)
    线性表
    树的一些概念和性质
    A*与IDA*
    树上启发式合并
    启发式合并
  • 原文地址:https://www.cnblogs.com/yrxns/p/7094175.html
Copyright © 2011-2022 走看看