Gitlab runner display export

Hi All,

I am using local setup of Gitlab and executing the Cucumber selenium script.
For the selenium script i need to open browser on display but when i am trying to export the runner display using vnc. It is not exporting display. Could anyone please help me out in this.

I cant use the headless browser.

form gitlab-ci.yml file

  • export DISPLAY=127.0.0.1:1
    • echo $DISPLAY
    • firefox &

Error:
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Broadway display type not supported: 127.0.0.1:1
Error: cannot open display: 127.0.0.1:1