class Playwright::Browser::NewPageOptions::RecordVideo
- Playwright::Browser::NewPageOptions::RecordVideo
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/browser.crConstructors
Instance Method Summary
-
#dir : Path
Path to the directory to put videos into.
-
#dir=(dir : Path)
Path to the directory to put videos into.
-
#size : VideoSize | Nil
Optional dimensions of the recorded videos.
-
#size=(size : VideoSize | Nil)
Optional dimensions of the recorded videos.
Constructor Detail
Instance Method Detail
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.
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.