Selenium/How-to/Make the browser visible or hidden
Browser visibility is controlled by
DISPLAY environment variable. The variable is by default not set on macOS. It is by default set on Ubuntu Linux.
To make the browser visible, make sure the
DISPLAY environment variable is set to any value.
To make the browser hidden, make sure the
DISPLAY environment variable is not set.
Run Selenium testsEdit
npm run selenium-test