puppeteer-sharp

Puppeteer C#: Connecting to Running Chrome Instance

别等时光非礼了梦想. 提交于 2021-01-24 07:09:46
问题 I am currently running PuppeteerSharp v1.19.0 to launch a browser and scrape web pages. The need has come up to be able to connect to an existing chrome instance and automate tasks. How can I achieve this one PuppeteerSharp? Via the following, I'm able to launch Chrome instead of Chromium with PuppeteersSharp but I haven't found how I'm able to connect to an existing instance of Chrome. All help is appreciated. using PuppeteerSharp; new BrowserFetcher().DownloadAsync(BrowserFetcher

Puppeteer C#: Connecting to Running Chrome Instance

两盒软妹~` 提交于 2021-01-24 07:05:55
问题 I am currently running PuppeteerSharp v1.19.0 to launch a browser and scrape web pages. The need has come up to be able to connect to an existing chrome instance and automate tasks. How can I achieve this one PuppeteerSharp? Via the following, I'm able to launch Chrome instead of Chromium with PuppeteersSharp but I haven't found how I'm able to connect to an existing instance of Chrome. All help is appreciated. using PuppeteerSharp; new BrowserFetcher().DownloadAsync(BrowserFetcher