-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example with playwright-video #13
Comments
What do you think about running screencast by default for all executions on Chromium (for now)? That way, executions will not need additional screenshots code to verify result of execution. |
Sounds good, for that I would probably need to wrap each |
Good point. Thinking aloud here - what if try-playwright exposes a "context" object to the script (instead of exposing the "playwright" object right now). That way, an existing browser instance could be shared across executions, and since nothing needs to be launched, executions will be much faster. It does have downsides, like Of course this is only an idea, feel free to shoot it down :) |
awesome idea! |
We will add captureAllPages as soon as microsoft/playwright#1163 is merged. And the capture will stop automatically when each page is closed, so you should only need to call |
@jperl |
Add playwright-video example.
The text was updated successfully, but these errors were encountered: