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
There has been a request to be able to assert on logs. The use case is for when a user want to assert that something has occurred, but that something can only print to the console with console.log, and there is nothing on the site itself that can be used. When something is logged, we should be able to bring that to the attention of the user who can compare it against an expected string.
Feature Description
There has been a request to be able to assert on logs. The use case is for when a user want to assert that something has occurred, but that something can only print to the console with
console.log
, and there is nothing on the site itself that can be used. When something is logged, we should be able to bring that to the attention of the user who can compare it against an expected string.Suggested Solution (optional)
page.on('console')
-> https://playwright.dev/docs/api/class-page#eventsAlready existing or connected issues / PRs (optional)
No response
Tasks
page.on
#1006page.on
docs k6-docs#1307page.on
TS Type definitions #1015page.on('console')
to release notes k6#3353The text was updated successfully, but these errors were encountered: