Skip to content

Conversation

singhprd
Copy link

@singhprd singhprd commented Jan 4, 2025

Work in progress.

To use this:

page.driver.browser.page.start_screencast(save_dir)
page.driver.browser.page.stop_screencast

This only saves images, it's not true video/screencasting but that is actually what Chrome provides.
This could become a 'real' screencast by streaming the images received from Chrome to something that combines them into a video (ffmpeg), but that would require much more complication in this Gem - and can just be done by a user later.

They should be very helpful for viewing and debugging tests.

Taken from this issue discussion: #354

Todo:

@singhprd singhprd changed the title screencast feature v0.15 compatible Feat: Add Screencasting of the browser, save images. v0.15 compatible with Cuprite Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants