You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/auth.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ existing authentication state in new browser contexts.
69
69
Web apps use cookie-based or token-based authentication, where authenticated
70
70
state is stored as [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies)
71
71
or in [local storage](https://developer.mozilla.org/en-US/docs/Web/API/Storage).
72
-
Playwright provides [`method: Browser.storageState`] method that can be used to retrieve storage state from authenticated contexts and then create new contexts with prepopulated state.
72
+
Playwright provides [`method: BrowserContext.storageState`] method that can be used to retrieve storage state from authenticated contexts and then create new contexts with prepopulated state.
73
73
74
74
Cookies and local storage state can be used across different browsers. They depend
75
75
on your application's authentication model: some apps might require both cookies
0 commit comments