Issue
Need help or advice. I can't find a chromedriver 107 for Mac M1. My current Chrome version 107, Selenium doesn't run tests.
Tried to install chromedriver_mac64.zip and chromedriver_mac_arm64.zip
Solution
I am using Mac M1 and with the following driver everything works: https://chromedriver.storage.googleapis.com/107.0.5304.62/chromedriver_mac_arm64.zip
Third file from:https://chromedriver.storage.googleapis.com/index.html?path=107.0.5304.62/
Chrome is up to date
Version 107.0.5304.110 (Official Build) (arm64)
I suspect that the problem is related to configuration of the Selenium webdriver path or some security warning from macOS.
If you are hiting on the security warning, you can check this article on how to fix it: https://thewiredshopper.com/apple-cannot-check-for-malicious-software-error/
System.setProperty("webdriver.chrome.driver", "/Users/myuser/Desktop/chromedriver");
WebDriver driver = new ChromeDriver();
driver.get("http://www.google.com/");
Answered By - Alex Karamfilov
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.