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
'DOM.scrollIntoViewIfNeeded' wasn't found #881
Comments
Please upgrade your chromium. |
Just read #877 (comment). IIRC, |
Hello @ZekeLu I have installed the version 91.0.* version of chromium The Google use the window.navigator.webdriver value to identify when the browser is controlled Here the documentation of this : That work in the 75.0.* version Do you know why ? Have a good day and thanks you for your quick reply |
@FournyP I have searched the commit history of chromium, and I have a bad news.
And Here are the references:
So after // Set enable-automation to false alone is not enough to make
// `window.navigator.webdriver` be false since 79.0.3922.0.
// Headless mode should be disabled too, which is not acceptable
// for automation in my opinion.
opts := append(chromedp.DefaultExecAllocatorOptions[:],
chromedp.Flag("enable-automation", false),
chromedp.Flag("headless", false),
// any port other than "0" will work since 86.0.4199.0
chromedp.Flag("remote-debugging-port", "9222"),
) A better workaround is suggested by @pmurley in #557 (comment). |
No problem, thank you for your reply Have a good day |
What versions are you running?
What did you do? Include clear steps.
Hello everyone, I have a problem with chromedp
I try to access to a web page thanks test and I got the error :
'DOM.scrollIntoViewIfNeeded' wasn't found (-32601)
My code :
I have update the dependencies and after that, my code return me this error, it worked before that.
The error appear when I run the "accept cookies" phase
What did you expect to see?
No error, like before
What did you see instead?
An error 'DOM.scrollIntoViewIfNeeded' wasn't found
Thanks for your help
Have a good day
The text was updated successfully, but these errors were encountered: