Skip to content

v6.0.0

Latest
Compare
Choose a tag to compare
@hlaueriksson hlaueriksson released this 18 Nov 14:30
· 3 commits to master since this release

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