Skip to content

Allow using remote Chrome with puppeteer #1002

@mhavelant

Description

@mhavelant

Puppeteer allows connecting to chrome via a web socket or URL.

See: Puppeteer docs

This would disallow using args (they'd have to be added on the browser-side), though.

Proposal:
Add a remoteOptions key to engineOptions (or maybe a separate remote: bool flag, too?); when this is filled, use await puppeteer.connect() instead of puppeteer.launch().

Use cases:

  • It would be beneficial mainly for dockerized environments, as it would be more in-line with the docker way (one process per container).

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