Skip to content

Remote Browser Support: Support remote browser using browserWSEndpoint option #48

Description

@moinologics

Currently ConnectOptions is not supported, so that it can't connect to a remote browser instance via browserWSEndpoint. This feature would be useful for scenarios where a browser instance is running remotely, such as in a cloud environment or a separate machine.

Expected Behavior:

  • Provide an option to connect to a remote browser via browserWSEndpoint.
  • Ensure compatibility with existing configurations.
  • Handle errors gracefully when the remote browser is unreachable.

Use Case:

  • Running a headless browser on a remote server for scraping tasks.

Potential Implementation:

  • Allow users to specify browserWSEndpoint in configuration.
  • Modify the connection logic to use puppeteer.connect() when browserWSEndpoint is provided.

Additional Context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions