Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PATCH: Feature/1525 headless mode deprecation #1535

Merged
merged 6 commits into from
Dec 24, 2023
Prev Previous commit
Next Next commit
documentation: update README with new headless mode information
dgrebb committed Dec 24, 2023

Verified

This commit was signed with the committer’s verified signature.
MrAlex94 Alex Kontos
commit 0aec8f34191b7e19bd4c0226375747a9145a3c62
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -669,7 +669,10 @@ ignoreHTTPSErrors: true,
headless: <!!!config.debugWindow>
```

You can add more settings (or override the defaults) with the engineOptions property. (properties are merged). This is where headless mode can also be set to 'new', until "new headless mode" is the default in Puppet/Playwright.
You can add more settings (or override the defaults) with the `engineOptions` property. (properties are merged). This is where headless mode can also be set to 'new', until "new headless mode" is less hacky and more supported by Playwright.

> [!INFORMATION]
> Puppeteer now runs in `new` headless mode by default, but can be set to `old` headless by passing `"headless": true` in the configuration file.

```json
"engineOptions": {