-
Notifications
You must be signed in to change notification settings - Fork 789
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
improve the error when one uses Action.Do directly instead of Run #326
Comments
If anyone encounters this error, you probably want to do:
We might make this unnecessary at some point. |
The following seems to work ( c := chromedp.FromContext(ctx)
action.Do(cdp.WithExecutor(ctx, c.Target)) |
Indeed, I mixed up the package. Will edit my comment just in case. |
Better errors should be propagated in the next version of |
Could this be used inside a ListenTarget callback? |
+1 on this question |
Did you solve this problem? I have the same problem as you. |
Yes.
Is it a typo? The action is the one you want to execute. For example, |
Right now, it just errors with "invalid context", which is confusing and not helpful.
The text was updated successfully, but these errors were encountered: