docs: clarify download lifetime when downloadsPath is specified (#8227)
This commit is contained in:
parent
851fe8d0bd
commit
434d07e711
|
|
@ -667,7 +667,8 @@ Enable Chromium sandboxing. Defaults to `false`.
|
|||
- `downloadsPath` <[path]>
|
||||
|
||||
If specified, accepted downloads are downloaded into this directory. Otherwise, temporary directory is created and is
|
||||
deleted when browser is closed.
|
||||
deleted when browser is closed. In either case, the downloads are deleted when the browser context they were created in
|
||||
is closed.
|
||||
|
||||
## browser-option-executablepath
|
||||
- `executablePath` <[path]>
|
||||
|
|
|
|||
9
types/types.d.ts
vendored
9
types/types.d.ts
vendored
|
|
@ -8289,7 +8289,8 @@ export interface BrowserType<Unused = {}> {
|
|||
|
||||
/**
|
||||
* If specified, accepted downloads are downloaded into this directory. Otherwise, temporary directory is created and is
|
||||
* deleted when browser is closed.
|
||||
* deleted when browser is closed. In either case, the downloads are deleted when the browser context they were created in
|
||||
* is closed.
|
||||
*/
|
||||
downloadsPath?: string;
|
||||
|
||||
|
|
@ -8626,7 +8627,8 @@ export interface BrowserType<Unused = {}> {
|
|||
|
||||
/**
|
||||
* If specified, accepted downloads are downloaded into this directory. Otherwise, temporary directory is created and is
|
||||
* deleted when browser is closed.
|
||||
* deleted when browser is closed. In either case, the downloads are deleted when the browser context they were created in
|
||||
* is closed.
|
||||
*/
|
||||
downloadsPath?: string;
|
||||
|
||||
|
|
@ -12665,7 +12667,8 @@ export interface LaunchOptions {
|
|||
|
||||
/**
|
||||
* If specified, accepted downloads are downloaded into this directory. Otherwise, temporary directory is created and is
|
||||
* deleted when browser is closed.
|
||||
* deleted when browser is closed. In either case, the downloads are deleted when the browser context they were created in
|
||||
* is closed.
|
||||
*/
|
||||
downloadsPath?: string;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue