Can I use Jenkins to run Selenium??
The short answer is yes. You can run an instance of the Selenium Server within your Jenkins job, and use it to launch one or more browsers and drive those browsers with your test scripts. In fact, this is a very common setup for CI jobs. However, this approach has some limitations which may lead you to look for a solution that doesn’t require running the Selenium Server.
Read more: How To Integrate Jenkins With Selenium WebDriver?