Firefox does not start when I try to execute a selenium script from jenkins. However, it works fine when I do this directly without using jenkins. Running this from jenkins, it returns the following error:
org.openqa.selenium.firefox.NotConnectedException: Cannot connect to host 127.0.0.1 on port 7055 after 45000 ms. Exit to the Firefox console: Error: GDK_BACKEND does not match the available display
I also set the environment variable DISPLAY =: 0.0, but still get the same error.
Operating System: Ubuntu
Version for Selelenium: 2.53
Firefox Version: 46.0
Programming lang: java
Please, help! Thanks in advance.
source
share