2 ms·
We do have pseudo-browsers written in pure js that you can theoretically use: https://github.com/jsdom/jsdom https://github.com/jsdom/jsdom https://github.com
by homebrewer 2y ago
We do have pseudo-browsers written in pure js that you can theoretically use:
https://github.com/jsdom/jsdom https://github.com/jsdom/jsdom
https://github.com/capricorn86/happy-dom https://github.com/capricorn86/happy-dom
but they're about as reliable as you can expect: it's difficult to keep up the pace with the big three (or two) on standards compliance, and they usually don't even try.
So the only reliable solution is a headless Chromium, Firefox, and/or WebKit-based noname browser like the sibling says.
https://pptr.dev/guides/what-is-puppeteer https://pptr.dev/guides/what-is-puppeteer
https://playwright.dev/ https://playwright.dev/
https://www.selenium.dev/documentation/ https://www.selenium.dev/documentation/