For my Spring Boot application I need to be able to, in response to a request (HTTP request to a REST API) launch a headless browser, render some website (HTML+CSS+JS), perform some analysis and get the response back.
Previously I had built a prototype using JavaFX and was using this library https://github.com/MachinePublishers/jBrowserDriver
Do you know any other headless browser that can be embedded inside a Spring Boot application?
EDIT: For Node.js I think I'd try to use puppeteer