Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何用于使用 Puppeteer 的 C# API?
用例:需要获取 HTML 的坐标/边界框。本来可以用 Selenium + PhantomJS,但是考虑到 PhantomJS 的不稳定问题,我们想试试 Puppeteer。
有人可以帮忙吗?
Sharp puppeteer 看起来像是一个很好的 c# 新解决方案
https://github.com/kblok/puppeteer-sharp
基于谷歌浏览器木偶
Puppeteer 是 Chrome DevTools 协议的 Node.js 客户端库。快速的 Google 搜索找到了至少两个不同的 C# DevTools 客户端库(虽然没有尝试过其中任何一个):