Skip to content

Commit b3cb34e

Browse files
ktheragenicolas-grekasdunglas
authored
Adding precision on PANTHER_NO_HEADLESS behavior (#639)
Co-authored-by: Nicolas Grekas <[email protected]> Co-authored-by: Kévin Dunglas <[email protected]>
1 parent 7c47014 commit b3cb34e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ Since Panther implements the API of popular libraries, it already has extensive
357357

358358
The following environment variables can be set to change some Panther's behavior:
359359

360-
* `PANTHER_NO_HEADLESS`: to disable the browser's headless mode (will display the testing window, useful to debug)
360+
* `PANTHER_NO_HEADLESS`: set to `1` to disable Panther's use of headless mode and thus see what happens in a browser window
361361
* `PANTHER_WEB_SERVER_DIR`: to change the project's document root (default to `./public/`, relative paths **must start** by `./`)
362362
* `PANTHER_WEB_SERVER_PORT`: to change the web server's port (default to `9080`)
363363
* `PANTHER_WEB_SERVER_ROUTER`: to use a web server router script which is run at the start of each HTTP request
@@ -382,12 +382,12 @@ $client = self::createPantherClient([
382382
#### Chrome-specific Environment Variables
383383

384384
* `PANTHER_NO_SANDBOX`: to disable [Chrome's sandboxing](https://chromium.googlesource.com/chromium/src/+/b4730a0c2773d8f6728946013eb812c6d3975bec/docs/design/sandbox.md) (unsafe, but allows to use Panther in containers)
385-
* `PANTHER_CHROME_ARGUMENTS`: to customize Chrome arguments. You need to set `PANTHER_NO_HEADLESS` to fully customize.
385+
* `PANTHER_CHROME_ARGUMENTS`: to customize Chrome arguments. You need to set `PANTHER_NO_HEADLESS` to `1` to have full control over arguments.
386386
* `PANTHER_CHROME_BINARY`: to use another `google-chrome` binary
387387

388388
#### Firefox-specific Environment Variables
389389

390-
* `PANTHER_FIREFOX_ARGUMENTS`: to customize Firefox arguments. You need to set `PANTHER_NO_HEADLESS` to fully customize.
390+
* `PANTHER_FIREFOX_ARGUMENTS`: to customize Firefox arguments. You need to set `PANTHER_NO_HEADLESS` to `1` value to have full control over arguments.
391391
* `PANTHER_FIREFOX_BINARY`: to use another `firefox` binary
392392

393393
### Accessing To Hidden Text

0 commit comments

Comments
 (0)