diff --git a/docs/src/auth.md b/docs/src/auth.md index 3861de4290..a070d2d395 100644 --- a/docs/src/auth.md +++ b/docs/src/auth.md @@ -29,8 +29,6 @@ New-Item -ItemType Directory -Force -Path playwright\.auth Add-Content -path .gitignore "`r`nplaywright/.auth" ``` -Note that you need to delete the stored state when it expires. If you don't need to keep the state between test runs, write the browser state under [`property: TestProject.outputDir`], which is automatically cleaned up before every test run. - ## Basic: shared account in all tests * langs: js @@ -116,6 +114,8 @@ test('test', async ({ page }) => { }); ``` +Note that you need to delete the stored state when it expires. If you don't need to keep the state between test runs, write the browser state under [`property: TestProject.outputDir`], which is automatically cleaned up before every test run. + ### Authenticating in UI mode * langs: js