Skip to content

如何处理 Puppeteer 抛出的 "Node is either not visible or not an HTMLElement"错误 #16

@cbhhy

Description

@cbhhy

Unhandled Rejection at: Promise Promise {
Error: Node is either not clickable or not an HTMLElement
at ElementHandle.clickablePoint (E:\GIT\auto-study\node_modules\puppeteer\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ElementHandle.js:373:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ElementHandle.click (E:\GIT\auto-study\node_modules\puppeteer\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ElementHandle.js:445:26)
} reason: Error: Node is either not clickable or not an HTMLElement
at ElementHandle.clickablePoint (E:\GIT\auto-study\node_modules\puppeteer\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ElementHandle.js:373:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ElementHandle.click (E:\GIT\auto-study\node_modules\puppeteer\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ElementHandle.js:445:26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions