Selenium/How-to/Make the browser visible or hidden
(Redirected from Selenium/How-to/Make the browser visible)
Follow instructions from Run tests targeting MediaWiki-Docker. For information which environments support visible browser see Selenium/Reference/Running tests page.
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