Whenever my Test Scripts start to Run when I build my JOB in Jenkins, I get this error i.e. ERROR: safaridriver could not launch because it is not configured correctly or you need to authenticate. Re-run safaridriver(1) and pass the '--enable' flag to configure and/or authenticate. For more information, consult the safaridriver(1) man page. [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 24.1 FAILURE! org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:9311
The browser runs fine whenever I run it via TestNG or MAVEN. I've been stuck on this for a long time now, tried so many things but to no Avail.