8

Is there any C# API for using Puppeteer?

Use case: need to get the coordinates/bounding box for HTML. Could have used Selenium + PhantomJS, but given the instability issues of PhantomJS, we want to try out Puppeteer.

Can someone please help?

bkwdesign
  • 1,953
  • 2
  • 28
  • 50
Harika Rayarapu
  • 81
  • 1
  • 1
  • 2

2 Answers2

14

Sharp puppeteer looks like a good new solution for c#

https://github.com/kblok/puppeteer-sharp

Based on Google Chrome puppeteer

TWilly
  • 4,863
  • 3
  • 43
  • 73
-3

Puppeteer is a Node.js client library for the Chrome DevTools protocol. A quick Google search found at least two different DevTools client libraries for C# (haven't tried either of those, though):

Pasi
  • 2,606
  • 18
  • 14