Editorial question92.3K views4,992 votes0 answers898 following
AI-generatedSnapshot API includes hidden nodes unexpectedly
Goal Determine the default behavior of the includeHidden flag in Puppeteer’s page.accessibility.snapshot() and its effect on nodes that are visually hidden, CSS‑hidden, or marked with aria-hidden="true" . Constraints The flag’s default value is not documented, and its filtering logic varies across Chrome builds. Hidden elements can inflate snapshot size and