

⚠️ These extension methods are the sync over async versions of the originals from the package. ✔️ is a library with extension methods for writing tests with the Puppeteer Sharp API. NETĬommon package containing helpers for an Nunit based testing project targeting an Api layer ✔️ It provides a convenient way to write readable and robust browser tests in. ✔️ is a should assertion library for the Puppeteer Sharp API. Showing the top 4 NuGet packages that depend on :Ĭontributions to the Headless Chrome. Xamarinwatchos xamarinwatchos was computed. netstandard2.1 netstandard2.1 was computed. Netstandard2.0 netstandard2.0 is compatible. netcoreapp3.1 netcoreapp3.1 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp2.2 netcoreapp2.2 was computed.

netcoreapp2.1 netcoreapp2.1 was computed. Netcoreapp2.0 netcoreapp2.0 was computed. net7.0-windows net7.0-windows was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-android net7.0-android was computed. net6.0-windows net6.0-windows was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-android net6.0-android was computed. net5.0-windows net5.0-windows was computed.

Versions Compatible and additional computed target framework versions. Input = await Page.QuerySelectorAsync("#foo") Īssert.True(await input.IsSelectedAsync()) Input = await Page.QuerySelectorAsync("input") Īssert.False(await input.IsDisabledAsync()) Īssert.True(await input.IsEnabledAsync()) Īssert.True(await input.IsReadOnlyAsync()) Īssert.True(await input.IsCheckedAsync()) Var input = await Page.QuerySelectorAsync("input") Īssert.True(await input.HasFocusAsync()) Īssert.True(await input.IsRequiredAsync()) Var divs = await Page.QuerySelectorAllWithContentAsync("div", "Ba.") Īssert.AreEqual(new ) Var div = await Page.QuerySelectorWithContentAsync("div", "Ba.") Īssert.AreEqual("bar", await div.IdAsync()) ĭiv = await html.QuerySelectorWithContentAsync("div", "Ba.") This is an example with NUnit: using System.Linq Īwait new BrowserFetcher().DownloadAsync() īrowser = await Puppeteer.LaunchAsync(new LaunchOptionsĪwait html = await Page.QuerySelectorAsync("html") Sample projects are located in the samples folder. Install-Package -Version 5.0.0ĭotnet add package -version 5.0.0 is a library with convenient extension methods for writing browser tests with the Puppeteer Sharp API.
