About
jsdom 1) is a headless browser 2) implemented completely in JS on node
It simulates:
- every DOM API function. They can be called / observed in a same way that in browser
USe JsDOm
You can use JsDom directly or via wrapping library:
Installation
yarn add jsdom
yarn add @types/jsdom
2)
It does not have the capability to render visual content