Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: add danger note to auth guide (#35409)
Ross Wollmanac2d9e62da87
diff --git a/docs/src/auth.md b/docs/src/auth.mdindex 4a3853edf1..51145a79e8 100644--- a/docs/src/auth.md+++ b/docs/src/auth.md@@ -13,6 +13,11 @@ Regardless of the authentication strategy you choose, you are likely to store auWe recommend to create `playwright/.auth` directory and add it to your `.gitignore`. Your authentication routine will produce authenticated browser state and save it to a file in this `playwright/.auth` directory. Later on, tests will reuse this state and start already authenticated.+:::danger+The browser state file may contain sensitive cookies and headers that could be used to impersonate you or your test account.+We strongly discourage checking them into private or public repositories.+:::+```bash tab=bash-bashmkdir -p playwright/.authecho $'\nplaywright/.auth' >> .gitignore