Firefox does not initialize from jenkins. GDK_BACKEND does not match the available displays.

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.

+4
source share

Source: https://habr.com/ru/post/1674236/


All Articles