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
Tell us about your environment:
What steps will reproduce the problem? Run the first example code at this link: https://pptr.dev/#?product=Puppeteer&version=v1.13.0&show=api-elementhandleselector
const puppeteer = require('puppeteer'); puppeteer.launch().then(async browser => { const page = await browser.newPage(); await page.goto('https://google.com'); const inputElement = await page.$('input[type=submit]'); await inputElement.click(); // ... });
yarn add puppeteer
node elementHandleExample.js
What is the expected result? 4. I do not receive an error from production example API code.
What happens instead? 5. I receive an error from production example API code:
UnhandledPromiseRejectionWarning: Error: Node is either not visible or not an HTMLElement
The same error also shows when I run this code at https://try-puppeteer.appspot.com/
const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto('https://google.com'); const inputElement = await page.$('input[type=submit]'); await inputElement.click();
Error running your code. Error: Node is either not visible or not an HTMLElement
The text was updated successfully, but these errors were encountered:
docs(api.md): update ElementHandle example
23e7c5d
Fix puppeteer#4150
docs(api.md): update ElementHandle example (#4169)
0d0e620
Fix #4150
docs(api.md): update ElementHandle example (puppeteer#4169)
212039c
No branches or pull requests
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
Run the first example code at this link: https://pptr.dev/#?product=Puppeteer&version=v1.13.0&show=api-elementhandleselector
What is the expected result?
4. I do not receive an error from production example API code.
What happens instead?
5. I receive an error from production example API code:
The same error also shows when I run this code at https://try-puppeteer.appspot.com/
The text was updated successfully, but these errors were encountered: