Puppeteer-sharp automation testing framework index.

Test More In Less Time

Run Automation Testing In Parallel On The LambdaTest Cloud

Start for free

Description

Puppeteer Sharp is a .NET port of Puppeteer-node. Provides a high-level API to control Chromium over the DevTools Protocol and runs headless by default.

Support and updates

  • Puppeteer-sharp has 2350 stars, 345 forks.
  • It has 3 major releases in the past 6 months.
  • It has 4 commits and there are 10 open pull requests.
  • It has 104 open issues and 997 have been closed.

Code statistics

  • Puppeteer-sharp has 68 packages.
  • Puppeteer-sharp has 506 classes and 1480 methods.

Blogs

Check out the latest blogs from LambdaTest on this topic:

Get A Seamless Digital Experience With #LambdaTestYourBusiness????

The holidays are just around the corner, and with Christmas and New Year celebrations coming up, everyone is busy preparing for the festivities! And during this busy time of year, LambdaTest also prepped something special for our beloved developers and testers – #LambdaTestYourBusiness

How To Find Hidden Elements In Selenium WebDriver With Java

Have you ever struggled with handling hidden elements while automating a web or mobile application? I was recently automating an eCommerce application. I struggled with handling hidden elements on the web page.

How To Refresh Page Using Selenium C# [Complete Tutorial]

When working on web automation with Selenium, I encountered scenarios where I needed to refresh pages from time to time. When does this happen? One scenario is that I needed to refresh the page to check that the data I expected to see was still available even after refreshing. Another possibility is to clear form data without going through each input individually.

How to Recognize and Hire Top QA / DevOps Engineers

With the rising demand for new services and technologies in the IT, manufacturing, healthcare, and financial sector, QA/ DevOps engineering has become the most important part of software companies. Below is a list of some characteristics to look for when interviewing a potential candidate.

Scala Testing: A Comprehensive Guide

Before we discuss Scala testing, let us understand the fundamentals of Scala and how this programming language is a preferred choice for your development requirements.The popularity and usage of Scala are rapidly rising, evident by the ever-increasing open positions for Scala developers.

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

License

Puppeteer-sharp is lincensed under the MIT License

LambdaTest Community Discussions

StackOverFlow community discussions

Questions
Discussion

Is there a way to add chrome-extension to PuppeteerSharp web driver?

PuppeteerSharp and Page Level Proxies

How to manipulate browser in dotnet core?

How to use Proxy in PuppeteerSharp without using the system global proxy settings

Struggling to .Dispose() using return method with PuppeteerSharp

Cannot click on a button which have a specific attribute

Set input value with Puppeteer-Sharp

How to use `GoToAsync()` from PuppeteerSharp to support local path but not with https?

PuppeteerSharp error No connection could be made because the target machine actively refused it 127.0.0.1:Port

Return Image base 64 without saving the file in hard drive, using puppeteersharp

Based on Line 43 of the LanchOptions.cs you can specify arguments to the launch process.

Now connecting this with the native JavaScript (using the --load-extension flag) the output should look similar to the following:

var browser = await Puppeteer.LaunchAsync(new LaunchOptions
{
    Args = new string[1] { "--load-extension=/Path/To/Extension/Folder" }
});

Note: that I put path to folder, not the .zip as you have in your sample.. if you want to load multiple extensions then just separate the paths using a comma.

Here's a full list of possible arguments that can be passed in to Chromium.

https://stackoverflow.com/questions/52151078/is-there-a-way-to-add-chrome-extension-to-puppeteersharp-web-driver

Test case code snippets

General webpage functionality - Check error message persistence

Description:

Information filled out by users should remain intact when there is an error message on the page submitted. The user should be able to submit the form again by correcting the errors.

API Testing - Check response fields

Description:

Verify that the API response contains all the expected fields.

Accessibility testing - Text alternative or audio descriptions for pre-recorded video

Description:

For pre-recorded video (without audio), provide a text alternative or audio descriptions that provide the same information presented.

Accessibility testing - Properly nested HTML headings

Description:

Organize pages using properly nested HTML headings.

Downloads

Puppeteer-sharp can be downloaded from it’s GitHub repository - https://github.com/hardkoded/puppeteer-sharp

Package and class index

PuppeteerSharp.AspNetFramework

...

Automation Testing Cloud

Run Selenium, Cypress & Appium Tests Online on
3000+ Browsers.

Know More

PuppeteerSharp.TestServer

...

HyperExecute

Accelerate Automation test execution upto 70% faster with the
next-gen testing platform.

PuppeteerSharp.Transport

...

On Premise Selenium Grid

Scale your test execution with our cloud infrastructure paired
with your firewall.

PuppeteerSharp.Messaging

PuppeteerSharpPdfDemo

Kane AI

Kane AI

World’s first end to end software testing agent.

Other similar frameworks

SpecFlow

SpecFlow is a pragmatic BDD solution for .NET. It provides test automation for .NET based on the Gherkin specification language and integrates to Visual Studio.

Gherkin-dotnet

Gherkin is a parser and compiler for the Gherkin language. Gherkin dotnet can be used either through its command line interface (CLI) or as a library.

Playwright-dotnet

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API that is capable, reliable and fast.

Testcontainers-dotnet

Library that provides docker containers compatible with standard .NET versions to support testing

NBi

NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests!

Frameworks to try

Site_prism

SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for use with Capybara in automated acceptance testing.

Winium

Automation framework for Windows platforms

SeLion

Enabling Test Automation in Java

Is

IS is a professional lightweight testing mini-framework for Go. Easy to write and read. Use comments to add descriptions (which show up when tests fail)

Rr_ruby

RR is a test double framework that features a rich selection of double techniques and a terse syntax.

Run Puppeteer-sharp scripts on 3000+ browsers online

Perform automation testing with Puppeteer-sharp on LambdaTest, the most powerful, fastest, and secure cloud-based platform to accelerate test execution speed.

Test Now