Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

feature request: include browser level recording rather than page #75

Open
vrknetha opened this issue Jun 29, 2020 · 4 comments
Open

feature request: include browser level recording rather than page #75

vrknetha opened this issue Jun 29, 2020 · 4 comments

Comments

@vrknetha
Copy link

I create multiple pages in runtime and close them. It is difficult to add save video every time and moreover they are recorded to different files. Rather than page recording, Can you go up with context or browser recording? Which would record the total execution in a single file?

@flaurida
Copy link
Contributor

Hi @vrknetha thanks for your interest in playwright video! @celeryclub generously added the followPopups option to the saveVideo API - does that help?

@vrknetha
Copy link
Author

Actually it is not a popup. Suppose I do some operations on page1 and I assert these changes in page2. One more use case is, I create a new context1 and do some operations which would impact the current context. I need to call this save video on every page. If it is at context level or browser level. It can save the videos on all pages using that context.

@jperl
Copy link
Member

jperl commented Jun 29, 2020

If you use qawolf.register(context) it will save multiple videos, one per page.

@vrknetha
Copy link
Author

Sure, let me try that. Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants