We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Click on a label to open a new page, and webdriver is true on the new page.
What methods are there to deal with?
The text was updated successfully, but these errors were encountered:
For some reference: puppeteer/puppeteer#3667
waitForDebuggerOnStart is the key to solve it perfectly.
waitForDebuggerOnStart
Sorry, something went wrong.
add Page.WaitPauseOpen
85ac15b
related to go-rod/stealth#2
@Abin01 I add a new function to support it, the unit test shows how to use it:
https://github.com/go-rod/rod/blob/899b00ac27e25786f0a6820a35164436b24bf21c/page_test.go#L251-L265
Some pseudo-code to demo how to use it with bypass lib:
bypass
func main() { wait, resume := page.WaitPauseOpen() go page.Element("a").Click() newPage := wait() newPage.EvalOnNewDocument(bypass.JS) resume() }
I will close it for now. If you have any problems please let us know.
NormalPunch
No branches or pull requests
Click on a label to open a new page, and webdriver is true on the new page.
What methods are there to deal with?
The text was updated successfully, but these errors were encountered: