playwright-sharp
WebDriverManager.Net
Our great sponsors
playwright-sharp | WebDriverManager.Net | |
---|---|---|
4 | 4 | |
840 | 265 | |
- | - | |
9.5 | 8.3 | |
almost 3 years ago | 8 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
playwright-sharp
-
.NET Core ASP - PDF Generation for hosting on Azure?
Or https://github.com/microsoft/playwright-sharp
-
WebBrowser class
There are multiple ways to do this. For web scraping like you describe, I would use Playwright-sharp.
-
Can I automatize navigating websites with C#?
I've used PuppeteerSharp for web automation with great success. I understand that project is now Playwright-Sharp. I would highly recommend that over something like Selenium which is really more for testing.
-
Durable Functions to Schedule Publish to Dev.To
Using either Puppeteer or Playwright to scrape a web page is super simple. Both have their own .NET ported versions like Puppeteer Sharp and Playwright Sharp respectively. However, they don't work on Azure Functions, unfortunately. More precisely, they work on your local dev environment, not on Azure instance. This post would be useful for your node.js Azure Functions app, but it's not that helpful for your .NET application. Let me find a way for it to work on Azure Functions instance correctly.
WebDriverManager.Net
-
How run script automation write in c# with selenium in container Docker
You can have a Windows Docker image with C#. Your project can get selenium from NuGet. I'd recommend https://github.com/rosolko/WebDriverManager.Net for managing chrome and web driver.
- How to automatically update your ChromeDriver in C#
- How to get Chrome version using Selenium 4? I need to know wich version Azure is running, so I can update my driver when the Chrome version is updated.
-
In c# selenium for chrome. Is there a way to automatically update the ChromeDriver version of my program/application based off an automatic scan and find of the version the user has installed on their computer when they first start up my program? Or vise versa, where their version gets an update.
You can use WebDriverManager.Net to programmatically pull the specific version of ChromeDriver you need at runtime. To know which specific version you need you have to determine the installed version of Chrome. The method for doing this will depend on which platform the code is running on. Here is a windows-specific solution that should get you started.
What are some alternatives?
PuppeteerSharp - Headless Chrome .NET API
metamask-extension - :globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
playwright-sharp - .NET version of the Playwright testing and automation library. [Moved to: https://github.com/microsoft/playwright-sharp]
YamlDotNet - YamlDotNet is a .NET library for YAML
Oxygen - Functional-style C# Selenium wrapper for automated UI testing.
qttabbar - QTTabBar is a small tool that allows you to use tab multi label function in Windows Explorer. https://www.yuque.com/indiff/qttabbar
Browser-Info-Passing - Grab Browser Usernames And Passwords
AngleSharp - :angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
xdm - Powerfull download accelerator and video downloader
CefSharp - .NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
autorest - OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python