-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Feature] a hook mechanism to augment cross-cutting logic #4390
Comments
Could you share more about your goal? |
@pavelfeldman I'm looking for something like this https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/events/WebDriverEventListener.html. As an example I would be able to capture the screenshots after every |
Got it. For screenshots to work, you need async hooks that we await for and we don't have those. It is a fine idea though, so I'm leaving this open as a feature request. |
Thank you @pavelfeldman. Just to clarify, did you mean that non-async hooks were available? |
No, I just meant to say that we would need hooks to be async as we are implementing them. |
Closing this as a part of the triage, please feel free to file a new issue with additional details. Given the limited resource and a lot of requests, we need to fulfill most popular requests and at the same time keep our issue database manageable. |
Hi Playwright developers. Thank you so much for this great framework. One thing I would love to see in Playwright is the ability to intercept commands send to browsers for handling some cross-cutting concerns such as logging. Is it currently available or in the roadmap?
The text was updated successfully, but these errors were encountered: