Running Chrome Headless on Linux

Getting an error:

[ERROR] - Test Cases/EDR/_General Commands/Open Browser FAILED because (of) java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

I need a headless solution because I want to run Katalon on a Docker container.

Thanks

Can you try solution from this page? http://www-01.ibm.com/support/docview.wss?uid=swg21654543

For a headless Linux server, you need the following :

Xvfb :0 >& /dev/null &
export DISPLAY=:0
1 Like


Still got this error.

Untitled.png

Hi,

Where do i need to put this code?

Thanks in advance :slight_smile: