Ross Wollman 2022-08-01 15:34:29 -07:00 committed by GitHub
parent 94efeed192
commit 11b7bf0dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,18 @@ upon closing the browser context. This method throws when connected remotely.
Saves the video to a user-specified path. It is safe to call this method while the video
is still in progress, or after the page has closed. This method waits until the page is closed and the video is fully saved.
## method: Video.saveAs
* langs: java
* since: v1.11
Saves the video to a user-specified path. This must be called after [`method: Page.close`] (or [`method: BrowserContext.close`]), otherwise an error will be thrown. This method waits until the video is fully saved.
## async method: Video.saveAs
* langs: python
* since: v1.11
Saves the video to a user-specified path. If using the sync API, this must be called after [`method: Page.close`] (or [`method: BrowserContext.close`]), otherwise an error will be thrown. If using the async API, it is safe to call this method while the video is still in progress, or after the page has closed. This method waits until the page is closed and the video is fully saved.
### param: Video.saveAs.path
* since: v1.11
- `path` <[path]>