So I'm trying to run my script through a command line so it works on other computers.
The problem is that I have this hard-coded into it.
I want to be able to run it without that line so I can just call the driver through the command line, is that possible?
This is what I was attempting to use to try and run it.
java -jar ~/Desktop/driver.jar -Dwebdriver.chrome.driver=/Users/xxxx/Desktop/Jar/chromedriver
But I get an error telling me the driver does not exist.