playwright icon indicating copy to clipboard operation
playwright copied to clipboard

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

Open ChipZhang opened this issue 1 year ago • 0 comments

🚀 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().

ChipZhang avatar Dec 06 '24 16:12 ChipZhang