Hacker News new | ask | show | jobs
by dataviz1000 1165 days ago
You might get the same functionality running playwright with novnc on a remote server because that is all that this is, a remote headless browser, connected to a node server that communicates to the headless browser with the Chrome DevTools Protocol over a websocket, with a <canvas> element embedded in the clients browser which sends all captured events like mousemove and mousedown to the node server, and lastly renders a stream of images from the headless browser into the client browser inside the <canvas> element. [0]

[0] https://github.com/land007/docker_playwright_novnc