Unable to run tests on Safari - Do we need dev certificate

我们两清 提交于 2019-12-04 12:15:29

I had Selenium 2.45 installed, and this is what I did to get SafariDriver working on OS X 10.9.5 with Selenium 2.46:

  1. Uninstall current SafariDriver from Safari (Preferences > Extensions > WebDriver 2.45.0 > Uninstall)
  2. Download and unzip Selenium 2.46 for Java (http://selenium-release.storage.googleapis.com/2.46/selenium-java-2.46.0.zip)
  3. Unzip /selenium-2.46.0/selenium-java-2.46.0.jar
  4. Find and double-click /selenium-2.46.0/selenium-java-2.46.0/org/openqa/selenium/safari/SafariDriver.safariextz

This will install, what I believe is, SafariDriver 2.46.0. It will be listed in Safari as WebDriver 2.45.0, but the file date is newer, and it worked for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!