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
Methods isn't assigned #54
Comments
https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#browserpages const allPages = await browser.pages(); // This will return <Promise<Array<Page>>>
const [page0] = allPages; // First page
const [page0] await browser.pages(); |
I'm sorry. Here is the smallest and complete code that reproduces the situation.
version
package-lock.json
|
Open chrome with --incognito or just use the new page. I guess it's how the plugin works, they dont work with 1st page. Got same issue but solved it as above. |
Yeah, I suggest using |
Using recaptcha plugin with extra,
const page0 = await browser.pages[0];
const page1 = await browser.newPage();
console.log(page1.solveRecaptchas); // [AsyncFunction]
console.log(page0.solveRecaptchas); // undefined
Is this in my environment only?
The text was updated successfully, but these errors were encountered: