cnpm / cnpmcore

Private NPM Registry for Enterprise
https://npmmirror.com
MIT License
607 stars 80 forks source link

【扩展请求】是否有计划将edgedriver列入同步列表中? #594

Closed JokerYF closed 4 months ago

JokerYF commented 1 year ago

RT 是否可以将edge浏览器驱动更新到源中?并将latest release文件一并同步? 附: edgedriver驱动官网:https://developer.microsoft.com/zh-cn/microsoft-edge/tools/webdriver/ edgedriver latest release url:https://msedgedriver.azureedge.net/LATEST_RELEASE_117_MACOS

fengmk2 commented 1 year ago

这是被用在那个 npm 包的?

elrrrrrrr commented 10 months ago

ping @JokerYF 😄

mindfocus commented 4 months ago

selenium 4吧 大概

fengmk2 commented 4 months ago

selenium 4吧 大概

能否提供一个使用方式?触发一下 selenium 下载 edgedriver 的逻辑

fengmk2 commented 4 months ago

https://github.com/webdriverio-community/node-edgedriver 这个?

fengmk2 commented 4 months ago

https://github.com/webdriverio-community/node-edgedriver/commit/84b331f7b431ee8997ae9ee74d2d84b0f4fd7ec2 支持环境变量。

EDGEDRIVER_CDNURL=https://npmmirror.com/mirrors/edgedriver npx edgedriver --version
fengmk2 commented 4 months ago

通过 https://edgeupdates.microsoft.com/api/products 读取到 edge 的 release 版本,然后 https://msedgewebdriverstorage.blob.core.windows.net/edgewebdriver?prefix=124.0.2478.97%2F&delimiter=%2F&maxresults=100&restype=container&comp=list 可以获取到下载地址

https://msedgewebdriverstorage.z22.web.core.windows.net/?prefix=126.0.2566.1/ 这里是一个 web 界面

fengmk2 commented 4 months ago

已经发布,等待同步 https://r.cnpmjs.org/binary.html?path=edgedriver/

fengmk2 commented 4 months ago

https://registry.npmmirror.com/binary.html?path=edgedriver/ 中国镜像

fengmk2 commented 4 months ago
EDGEDRIVER_CDNURL=https://npmmirror.com/mirrors/edgedriver EDGEDRIVER_VERSION=126.0.2578.0 npx edgedriver -v    
Microsoft Edge WebDriver 126.0.2578.0 (cb8ca64d8bf9848cd95851ce8397d01f7f4c69b2)