A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://playwright.dev/python/docs/api/class-video below:

Video | Playwright Python

Video

When browser context is created with the recordVideo option, each page has a video object associated with it.

print(await page.video.path())
Methods deleteAdded in: v1.11 video.delete

Deletes the video file. Will wait for the video to finish if necessary.

Usage

Returns

pathAdded before v1.9 video.path

Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context. This method throws when connected remotely.

Usage

Returns

save_asAdded in: v1.11 video.save_as

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.

Usage

Arguments

Returns

Previous

Tracing

Next

WebError


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4