I use Playwright DotNet in order to enable SEO for my SPA react application. I have several websites on the same server and I would like all of them to maintain connection (being attached) to the same browser instance in the machine. In case the instance crashes or closes for whatever reason I would like one of the sites to re-launch the browser, while the others will re-connect to the new browser instance.
I haven't found a way to connect to an existing browser instance yet. I need the websocket endpoint, but how would my application now which one is, when the browser is launched from another application?