1

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 ?

Andrei Suvorkov
  • 5,559
  • 5
  • 22
  • 48
Eric
  • 23
  • 6

1 Answers1

0

Try these two ChromeOptions:

options.addArguments("--proxy-server='direct://'");
options.addArguments("--proxy-bypass-list=*");

I found it here :

bilcy
  • 168
  • 1
  • 12