Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: LaunchServer #495

Open
memUsins opened this issue Oct 10, 2024 · 3 comments
Open

[Feature]: LaunchServer #495

memUsins opened this issue Oct 10, 2024 · 3 comments

Comments

@memUsins
Copy link

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.

@ZigHuang
Copy link

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

@canstand
Copy link
Collaborator

@memUsins
Copy link
Author

Thanks for the suggested options. I'll try it soon and come back with the results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants