-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
console.log() in JavaScript blocks should go to stdout #101
Comments
That
That was triggered by I think I can just use |
One catch with this: anything that a web page writes to This is a problem for As such, I think this mechanism should write to stderr, not stdout. |
Maybe I should control this with a |
For example, here's what it does on https://www.facebook.com/
|
I think |
I'm going to call it |
|
Re-opening because I need to do some manual testing and think about how to document this. |
Need to manually test all of these, each with and without the
|
I was trying to debug a
javascript:
block in ashots.yml
file and realized thatconsole.log()
would be useful.https://playwright.dev/python/docs/api/class-consolemessage#console-message-args says it's as easy as doing this:
The text was updated successfully, but these errors were encountered: