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.


Can you try solution from this page?

For a headless Linux server, you need the following :

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

Still got this error.



Where do i need to put this code?

Thanks in advance :slight_smile: