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

[Question] How to connect to a browser running on a specific port or launch browser at a specific port. #4918

Closed
kanishkadistill opened this issue Jan 6, 2021 · 3 comments

Comments

@kanishkadistill
Copy link

I want to connect to a browser running on a specific port.

let browser = await connect({
    browserURL: `http://localhost:${chrome_port}`
  });

I did not find any official method.

@mxschmitt
Copy link
Member

mxschmitt commented Jan 7, 2021

This is now possible in 2023, see here: https://playwright.dev/docs/api/class-browsertype#browser-type-connect-over-cdp

@pavelfeldman
Copy link
Member

This isn't currently supported!

@prakashbhatiya
Copy link

Any update on this?? Is the feature available.

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

4 participants