I'm running Selenium Webdrive tests on Jenkins (Debian 9 without GUI) using Chromedriver and xvfb, and they are extremely slow as compared to local execution. A click is done in 4 minutes comparing to 300 ~ 400 milliseconds on my local machine.
the details of the environment are as follows :
- Jenkins (running on Debian 9 without GUI) + Xvfb
- Chrome = 67.0.3396.99
- Java.version: '1.8.0_171'
- Chromedriver Version: 2.40.565383
- Selenium-java = 3.13.0
(The test project is in java (maven) with the framework TestNg v6.14.3)
I tried also Firefox, it's not as long as Chrome but it's still long compared to local
Any ideas ?