docs: add note about unsupported group policies (#17449)

https://github.com/microsoft/playwright/issues/17299
https://github.com/microsoft/playwright/issues/17448

Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
This commit is contained in:
Max Schmitt 2022-09-19 22:34:31 +02:00 committed by GitHub
parent 426301dc6d
commit cd650c0515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,13 @@ Playwright requires Node.js 14 or higher.
Running TypeScript tests in `"type": "module"` project requires Node.js 16 or higher.
## Incompatible Microsoft Edge / Google Chrome policy settings
It's known that Playwright is not working as expected when some Microsoft Edge / Google Chrome policy settings are set. The following shows some of them, there might be more that affect Playwright's functionalities. If you find any other policy settings that break functionality, please file an issue and we'll add it to this document. You can see a list of applied policies by running `chrome://policy` in the browser.
- `UserDataDir` - This policy is used to specify the location of the user data directory. Playwright uses a temporary directory for user data, so this policy is not compatible with Playwright. See discussion in [this bug](https://github.com/microsoft/playwright/issues/17448).
- `ExtensionInstallForcelist` - This policy is used to specify a list of extensions that should be installed. Playwright's browser close will not work if this policy is set. See discussion in [this bug](https://github.com/microsoft/playwright/issues/17299).
## .NET requirements
* langs: csharp