How can I install selenium chrome driver in jenkins? How can I install selenium chrome driver in jenkins? jenkins jenkins

How can I install selenium chrome driver in jenkins?


A simple approach would be to build your custom Jenkins docker image based on the official one.

The structure would be like this:

# DockerfileFROM jenkins# Set user root to allow us to install the rest of what's neededUSER root# <install your stuff here># Go back to non-sudo userUSER jenkins

I've pushed an image docker pull elgalu/jenkins with installed Chrome, chromedriver and Python3 with Selenium bindings. As you requested.

You can either use my image or check the source code and build it yourself:

https://github.com/elgalu/jenkins-chrome