-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
Feature Request:
A browser event: 'context' emitted when a new context is created.
browser.on("context", (context) => context.addInitScript(...));
Our Use Case:
We use the browser context to capture logs and video artifacts.
Since there is no API to listen for new contexts, we require users to call qawolf.register(context) in their test code when they create a new context.
If we could listen for a context event we can manage this registration logic internally in our launch helper.
Other Use Cases:
This would be valuable to set up global init scripts and new page listeners.
Metadata
Metadata
Assignees
Labels
No labels