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

Adding ability to connect to a remote browser via setting a remote debugger address or via CDP would be a game changer #205

Open
raunaqss opened this issue Nov 14, 2024 · 1 comment

Comments

@raunaqss
Copy link

raunaqss commented Nov 14, 2024

HI Chetan,

Thanks for building Botasaurus

I have a feature request: Adding the ability to use Botasaurus with remote instances of Chrome via CDP or setting the remote debugger address (something nondriver allows).

I understand if it doesn't make sense to add, as it may not be a priority for your users but I think it would be a game changer and so thought I should note it down here.

In case this is already possible via ChromeOptions but undocumented, please let me know

@piyushhanchate
Copy link

Hey,

I was able to achieve it this way:

     port =  driver.config.port
     browser = playwright.chromium.connect_over_cdp(f"http://localhost:{port}")

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

2 participants