mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 05:37:20 +03:00
docs: mention empty string in userDataDir
(#9069)
This commit is contained in:
parent
8dc8777ab4
commit
44c3b0270e
@ -244,7 +244,8 @@ this context will automatically close the browser.
|
||||
Path to a User Data Directory, which stores browser session data like cookies and local storage. More details for
|
||||
[Chromium](https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md#introduction) and
|
||||
[Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#User_Profile).
|
||||
Note that Chromium's user data directory is the **parent** directory of the "Profile Path" seen at `chrome://version`.
|
||||
Note that Chromium's user data directory is the **parent** directory of the "Profile Path" seen at `chrome://version`. Pass an empty string to
|
||||
use a temporary directory instead.
|
||||
|
||||
### option: BrowserType.launchPersistentContext.-inline- = %%-shared-browser-options-list-%%
|
||||
### option: BrowserType.launchPersistentContext.slowMo = %%-browser-option-slowmo-%%
|
||||
|
3
types/types.d.ts
vendored
3
types/types.d.ts
vendored
@ -9656,7 +9656,8 @@ export interface BrowserType<Unused = {}> {
|
||||
* context will automatically close the browser.
|
||||
* @param userDataDir Path to a User Data Directory, which stores browser session data like cookies and local storage. More details for [Chromium](https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md#introduction) and
|
||||
* [Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#User_Profile). Note that Chromium's user
|
||||
* data directory is the **parent** directory of the "Profile Path" seen at `chrome://version`.
|
||||
* data directory is the **parent** directory of the "Profile Path" seen at `chrome://version`. Pass an empty string to use
|
||||
* a temporary directory instead.
|
||||
* @param options
|
||||
*/
|
||||
launchPersistentContext(userDataDir: string, options?: {
|
||||
|
Loading…
Reference in New Issue
Block a user