playwright-video
playwright-video copied to clipboard
feature request: include browser level recording rather than page
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?
Hi @vrknetha thanks for your interest in playwright video! @celeryclub generously added the followPopups
option to the saveVideo
API - does that help?
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.
If you use qawolf.register(context)
it will save multiple videos, one per page.
Sure, let me try that. Thank you