适配chrome75最新selenium-chromedriver

 

微信扫二维码关注我的公众号,回复chromedriver 即可获取windows,liunx,mac版本最新selenium-chromedriver

转载于:https://www.cnblogs.com/lza945/p/8661639.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
---------ChromeDriver 75.0.3770.140 (2019-07-12)--------- Supports Chrome version 75 Resolved issue 3007: ChromeDriver 75 - Running Javascript kills driver [Pri-1] Resolved issue 2943: goog:chromeOptions.w3c=false doesn't work for POST request with empty body [Pri-1] Resolved issue 2975: Webdriver Actions for keys (CONTROL, SHIFT etc..) not working in ChromeDriver 75.0.3770.8 [Pri-2] Resolved issue 2947: No W3C compliant endpoints for retrieving logs [Pri-2] Resolved issue 2622: Clear Element command raises blur event twice [Pri-2] Resolved issue 2803: Capability name loggingPrefs is not spec compliant [Pri-2] Resolved issue 2536: Make standards mode (goog:chromeOptions.w3c:true) the default [Pri-2] Resolved issue 2836: Error handling in W3C mode [Pri-2] Resolved issue 2414: Creating cookies without leading dot in the domain results in host-only cookies [Pri-2] Resolved issue 2796: ChromeDriver should allow null for script timeout [Pri-2] Resolved issue 2721: Element Send Keys to file input with 'multiple' attribute should append file list [Pri-3] Resolved issue 2850: Get Active Element should return "no such element" error when no active element exists [Pri-3] Resolved issue 2851: Navigate to malformed URL should raise "invalid argument" error [Pri-3] Resolved issue 2857: ChromeDriver returns wrong HTTP status code when invalid session id is received [Pri-3] Resolved issue 2719: When input parameter is missing or malformed, ChromeDriver response is not spec compliant [Pri-3] Resolved issue 2746: Execute Script does not handle line-oriented JavaScript comment [Pri-3]
引用中提到了解决这个错误的方法。可以尝试以下步骤来解决这个问题: 1. 删除_selenium-standalone文件夹: C:\Users\Administrator\Desktop\uitest\node_modules\selenium-standalone\.selenium\chromedriver\latest-x64-chromedriver。 2. 重新安装selenium-standalone: 打开命令行工具,运行命令npm install selenium-standalone@latest -g。 3. 安装所需浏览器的驱动程序: 运行命令selenium-standalone install,这将为Chrome、IE、Firefox和Edge安装相应的驱动程序。 4. 启动WebDriver服务: 运行命令selenium-standalone start。 5. 确保将ChromeDriver的位置添加到PATH环境变量中: 根据引用中的说明,将ChromeDriver的可执行文件所在位置(例如C:\Program Files (x86)\Selenium Drivers)添加到系统的PATH环境变量中。 通过按照以上步骤来解决该错误,您应该能够解决这个问题并成功运行您的测试脚本。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [uirecorder 自动化测试/升级chromedriver](https://blog.csdn.net/weixin_43925725/article/details/123930954)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [UI5-文档-2.4-Node.js-Based开发环境](https://blog.csdn.net/abbilglf665483/article/details/101411711)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值