wkeese / puppeteer-aria-example

Test and example of how Puppeteer can find elements based on accessible roles and labels.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pupeteer ARIA selectors test / example

This is a test of the aria selectors in pupeteer.

Before running the test, go to another shell and run:

npx http-server

That serves the index.html page on port 8080.

Then in second shell, switch to node 20 or higher:

nvm use 20

and run the test:

node test.mjs

About

Test and example of how Puppeteer can find elements based on accessible roles and labels.


Languages

Language:JavaScript 72.7%Language:HTML 27.3%