Chrome driver is not working in Jenkins build for Maven project
Meta
OS: Windows 8.1 Selenium Version: 2.53.0 Browser: Chrome
Problem
I have very simple script (in Maven project) that is to navigate url: google.com. Script is working fine on Firefox & IE using Jenkins build however it's not working with Chrome driver. However I am able to run same script on Chrome on my local system using Eclipse.
Project code: [https://github.com/viv1ag/gittest.git]
Please let me know if you need any other information to debug the issue.
Jenkins build log

Hi there,
Sounds promising that it works locally. (Given that this is the case it suggests there could be some differences in what Jenkins is picking up and what eclipse is picking up so worth comparing these and how each of your environments is picking these up )
I have noticed a few things from the jenkins output.
- The java version is java 7 . Have you tried with java 8 on Jenkins as the README on github specifices that JAVA 8 is required as a minimum. It might be worth comparing your local jdk to rule this out as a problem
- I would also put a try catch block around your code around creation of the driver to get more details on the exception
- It's possible your selenium, chrome driver or both are out of date so try also upgrading to the latest versions and trying again with the same test.
- Chome Driver: http://chromedriver.storage.googleapis.com/index.html
Cheers
we don't support Jenkins here, nor do we support chromedriver directly (that is done on the chromedriver project).