Skip to content

Releases: hlaueriksson/puppeteer-sharp-contrib

v6.0.0

18 Nov 14:30
Compare
Choose a tag to compare

Dependencies

  • Bump PuppeteerSharp to 12.0.0 ⬆️
  • Use PuppeteerSharp interfaces; IPage and IElementHandle 👽️

PuppeteerSharp.Contrib.Extensions

New extensions for IPage:

  • HasUrlAsync

New extensions for IElementHandle:

  • HasAttributeValueAsync
  • IsEmptyAsync

Extensions for IResponse:

  • HasUrl

PuppeteerSharp.Contrib.PageObjects

New extensions for IPage:

  • To<T>

New extensions for IElementHandle

  • To<T>

PuppeteerSharp.Contrib.Should

New should assertions for IPage:

  • ShouldHaveUrlAsync
  • ShouldNotHaveUrlAsync

New should assertions for IElementHandle:

  • ShouldHaveAttributeValueAsync
  • ShouldNotHaveAttributeValueAsync
  • ShouldBeEmptyAsync
  • ShouldNotBeEmptyAsync

Should assertions for IResponse:

  • ShouldHaveUrl
  • ShouldNotHaveUrl
  • ShouldHaveStatusCode
  • ShouldNotHaveStatusCode
  • ShouldBeSuccessful
  • ShouldBeRedirection
  • ShouldHaveClientError
  • ShouldHaveServerError
  • ShouldHaveError

v5.0.0

09 Aug 22:21
Compare
Choose a tag to compare

Dependencies

  • Bump PuppeteerSharp to 7.1.0 ⬆️

PuppeteerSharp.Contrib.PageObjects

New extensions for Page:

  • GoBackAsync<T>
  • GoForwardAsync<T>
  • ReloadAsync<T>
  • WaitForResponseAsync<T>

New extensions for ElementHandle:

  • WaitForSelectorAsync<T>