appium自动识别兼容的chromedriver

  1. chromeDriver所有版本下载路径:https://npm.taobao.org/mirrors/chromedriver
  2. 将下载的chromeDriver放置与固定目录,如“E:\\drivers”
  3. 设置Desired Capablity

    capabilities.SetCapability("chromedriverExecutableDir", "E:\\drivers");

posted @   s459165447  阅读(598)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示