Skip to content

[Feature]: No way to set proxy to connect to a Chrome instance running in another PC. #33894

@ChipZhang

Description

@ChipZhang

🚀 Feature Request

playwright's .connect() method does not provide a parameter like proxy, or agent (like what package node-fetch does), to allow to connect to a chrome instance running in a different PC as the running Node script.

Example

No response

Motivation

My testing chrome instance is running in another PC in LAN.
I can connect to the services running in this PC via SSH socks5 proxy.

I tried to redirect the traffic using means like proxychains, it works for fetch(), but not for playwright's .connect().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions