According to this post, it's possible to connect puppeteer to a local IP Address using the http-proxy node module. But how can I achieve this within PupperSharp(C#)? Is there any equivalent nuget library?
more context: If you launch the PuppeteerSharp on a host, get it's websocket URL and change it's host:
var browser = await Puppeteer.LaunchAsync(new() { Headless = false });
Console.WriteLine(new UriBuilder(browser.WebSocketEndpoint){ Host = "192.168.0.199" });
and in another host try to connect:
await Puppeteer.ConnectAsync(new(){ BrowserWSEndpoint = "ws://192.168.0.199:60597/devtools/browser/5f79c230-7e69-49f5-8f12-816c343cf4f8" })
connection refused exception shows.