Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time


PuppeteerSharp.Contrib.Should.Unsafe is a should assertion library for the Puppeteer Sharp API.

β›” This package is no longer maintained and will not be published in new versions.

⚠️ These extension methods are the sync over async versions of the originals from the PuppeteerSharp.Contrib.Should package. They may be convenient, but can be considered unsafe since you run the risk of a deadlock.

βœ”οΈ Works with:

❌ Fails with:


NuGet PuppeteerSharp.Contrib.Should.Unsafe
Package Manager PM> Install-Package PuppeteerSharp.Contrib.Should.Unsafe -Version 3.0.0
.NET CLI > dotnet add package PuppeteerSharp.Contrib.Should.Unsafe --version 3.0.0
PackageReference <PackageReference Include="PuppeteerSharp.Contrib.Should.Unsafe" Version="3.0.0" />
Paket CLI > paket add PuppeteerSharp.Contrib.Should.Unsafe --version 3.0.0

Should assertions for ElementHandle

  • ShouldBeChecked
  • ShouldBeDisabled
  • ShouldBeEnabled
  • ShouldBeHidden
  • ShouldBeReadOnly
  • ShouldBeRequired
  • ShouldBeSelected
  • ShouldBeVisible
  • ShouldExist
  • ShouldHaveAttribute
  • ShouldHaveClass
  • ShouldHaveContent
  • ShouldHaveFocus
  • ShouldHaveValue
  • ShouldNotBeChecked
  • ShouldNotBeReadOnly
  • ShouldNotBeRequired
  • ShouldNotBeSelected
  • ShouldNotExist
  • ShouldNotHaveAttribute
  • ShouldNotHaveClass
  • ShouldNotHaveContent
  • ShouldNotHaveFocus
  • ShouldNotHaveValue