You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node events are synchronous, so the suggested syntax implies a race between the qawolf set up and context usage. I actually like the qawolf.register option - it is explicit and can be awaited.
Feature Request:
A browser event: 'context' emitted when a new context is created.
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 ourlaunch
helper.Other Use Cases:
This would be valuable to set up global init scripts and new page listeners.
The text was updated successfully, but these errors were encountered: