is it possible to run a nbb repl and start like a puppeteer or playwright browser and interact with it ?
yes
is there an example somewhere
yes :) https://github.com/babashka/nbb/tree/main/examples/playwright I also designed this library to work really well with nbb and writing playwright tests: https://github.com/borkdude/deflet
see the screenshot from the readme: https://user-images.githubusercontent.com/284934/222552490-439cb704-d0b0-4650-b0fc-0e18f49423eb.png