class

Playwright::Browser::NewPageOptions::RecordVideo

Inherits JSON::Serializable / Reference / Object

Constructors

new(dir : Path, size : Nil | Playwright::Browser::VideoSize = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

dir

Path to the directory to put videos into.

Source
dir=(dir : Path)

Path to the directory to put videos into.

Source
size

Optional dimensions of the recorded videos. If not specified the size will be equal to viewport. If viewport is not configured explicitly the video size defaults to 1280x720. Actual picture of each page will be scaled down if necessary to fit the specified size.

Source
size=(size : VideoSize | Nil)

Optional dimensions of the recorded videos. If not specified the size will be equal to viewport. If viewport is not configured explicitly the video size defaults to 1280x720. Actual picture of each page will be scaled down if necessary to fit the specified size.

Source