Puppeteer-select
at this point its just proof of concept made for solving my own issue. Feel free to add any suggestions
Why
I got used to some useful css selectors which are not supported by puppeteer like:
:contains(text)
example from puppeteer docks modified to be using puppeteer-selector
const puppeteer = ;const select = ; async { const browser = await puppeteer; const page = await browser; await page; await ; const element = await ; await element await browser;};
this lib is using "sizzle" all available selectors is here https://github.com/jquery/sizzle/wiki#selectors