Selenium/How-to/Make the browser visible or hidden

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  environment variable. The variable is by default not set on macOS. It is by default set on Ubuntu Linux.

Visible
To make the browser visible, make sure the  environment variable is set to any value.

Hidden
To make the browser hidden, make sure the  environment variable is not set.