Releases: ChromiumDotNet/PuppeteerSharp.Dom
Releases · ChromiumDotNet/PuppeteerSharp.Dom
v5.0.40
Upgrade to support PuppeteerSharp v19
.
As PuppeteerSharp
has switched from NewtonSoft.Json
to System.Text.Json
a few convenience methods have been removed.
Element.GetAttributeAsync<T>
has been removed, you can now only useGetAttributeAsync
which returns a string (which matches the return type of the underlyinggetAttribute
method).CssStyleDeclaration.GetPropertyValueAsync<T>
has been removed, you can now only useGetPropertyValueAsync
which returns a string (which matches the return type of the underlyinggetPropertyValue
method).
Make sure to read the upstream
release notes at https://github.com/hardkoded/puppeteer-sharp/releases/tag/v19.0.0