JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

WebDriver.__init__() got an unexpected keyword argument 'desired_capabilities'

发布时间 2023-08-23 15:27:18作者: php的自我修养
我的selenium的版本是4.11.2
selenium4.10中已经不支持desired_capabilities参数
如果要传这个参数的话建议用 selenium==4.9.1
参考《Appium新版本引发的一个问题》
    本栏目推荐文章
  • webdriver.Chrome New API
  • linux服务器webdriver启动Chrome浏览器失败
  • nuxt构建失败:if (codePoint 》= 0x3_00 && codePoint (= 0x3_6F) { SyntaxError: Invalid or unexpected token
  • vue报错:Module parse failed: Unexpected token (5:2) You may need an appropriate loader to handle this file type.
  • An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue.
  • js报错:Uncaught SyntaxError: Unexpected identifier 'Object' (at my_customer_index?addtabs=1:1:28)
  • pycharm运行 appium ios自动化,报错TypeError: __init__() got an unexpected keyword argument 'desired_capabilities'
  • TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'报错解决方案
  • Install fail! SyntaxError: Unexpected token 'h', "hub.com>","... is not valid JSON (file: C:\Users\Admin\Documents\uirecorder_test\node_modules\_mocha@5.2.0@mocha\package.json)
  • appium报错DeprecationWarning: desired_capabilities argument is deprecated and will be removed in future versions. Use options instead.
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们