-
Notifications
You must be signed in to change notification settings - Fork 788
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
Can't subscribe to Runtime.consoleAPICalled event #41
Comments
I'm using It doesn't look like it's even implemented. See: func (h *TargetHandler) Listen(eventTypes ...cdp.MethodType) <-chan interface{} {
return nil
} |
I've put a pull request in for this (#64). |
You might be interested in the discussion in #79. It would be good to know the context you're using the console events in - are you trying to just print them, or react to them in the execution path? If the latter, it is important to understand when and how you want to use the result, so that race conditions (of the form that |
This will be fixed in a big rollout coming in the next couple days. |
I have a page with javascript that logs to the console. When I navigate to the page using
chromdp
with logging enabled, I can see that theRuntime.consoleAPICalled
event is being fired. I'd like to subscribe to this event, but my naive approach isn't working. Any tips?The text was updated successfully, but these errors were encountered: