browser
browser copied to clipboard
End to end CDP tests
We need to add end to end CDP tests to ensure no regressions on the websocket/stream/CDP features (where unit tests are not possible).
To start we want to test the demo Puppeteer script on the demo website on both Linux and MacOS, with multiple executions (at least 2).
This require having:
- the lightpanda binary launched in server mode (websocket)
- the go application serving the demo website
- a Node JS environement to launch the Puppeteer script (and checking the results)
Gradually we can add more client scripts libs (Playwright, ChromeDP) and more test cases.
The idea is to use Github actions for that.