Chromedriver on MAC - Eclipse/Intellij

Asked

Viewed 128 times

0

I have the following problem: I am now with MAC and can no longer run my automation.

I already downloaded Chrome for MAC, but still get the following error:

java.lang.Illegalstateexception: The driver Executable does not exist: /Users/estevaomarcos/Documents/Projects/Dbserver/ Users chromedriver

My code reads as follows: System.setProperty("webdriver.chrome.driver", "Users chromedriver");

Someone could help me?

Thanks in advance.

1 answer

1


Talk face, blz? look face I would say that the driver’s path is incorrect. have you checked this? tries to put it in a folder inside the project for example:

System.setProperty("webdriver.chrome.driver", ".//src//test//resources//chromedriver");
  • Good morning Marcos Costa! It worked! Thank you very much saw!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.