-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
Proxy auth dialog handler is not working in another tab #991
Labels
question
Questions related to rod
Comments
Please fix the format of your markdown: 33 MD022/blanks-around-headings/blanks-around-headers Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Additional"]
34:1 MD033/no-inline-html Inline HTML [Element: img] generated by check-issue |
you need two handlers, like this: go browser.MustHandleAuth("test", "howto123")()
go browser.MustHandleAuth("test", "howto123")() Read the doc, each event listener only waits for one single event, not all the events: |
@ysmood panic: {-32000 Invalid state for continueInterceptedRequest } |
yes, you have to use EachEvent to handle it, read the source code of HandleAuth |
following code is worked
browser.Page(proto.TargetCreateTarget{})
go p.browser.MustHandleAuth(username, password)() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rod Version: v0.114.5
The code to demonstrate your question
What you got
Proxy auth dialog handler is not working in another tab
What you expect to see
The proxy auth connected in another tabs.
What have you tried to solve the question
Run the proxy handler goroutine with same opened tabs
Additional
the first tab was successfuly authenticated, except the another tab
The text was updated successfully, but these errors were encountered: