[Feature]: LaunchServer
memUsins opened this issue · 3 comments
Hi!
I have been using the playwright library for a while, because I may not know everything about it and its capabilities yet.
In the documentation for the Node JS library, I found the functionality I needed: LaunchServer (link to the documentation: https://playwright.dev/docs/api/class-browsertype#browser-type-launch-server ), but in this implementation on go, I did not see anything like that.
Is there any similar functionality and, if so, how to use it?
If it doesn't exist, what other workarounds are there to achieve a similar goal?
I'll explain what I need.:
I am developing a microservice that should "host" browsers, giving out addresses for connection. While other microservices will go to these browsers and work with them remotely via a ws connection.
Hello 👋!
I have recently been utilizing playwright-go, and upon reading your question, it occurred to me that the ExposeNetwork
argument might be employed to connect to the remote browser instance?
BrowserTypeConnectOptions
Thanks for the suggested options. I'll try it soon and come back with the results