Closed dewanganlakhan closed 8 months ago
Hey @dewanganlakhan - missed this issue previously, the reason you're not seeing the properties is that the type for them is marked as "new" or "pending" in schema.org.
See how the types are blue?
Basically, you'll need to use Schema.NET.Pending instead of Schema.NET to access those types
Describe the bug
https://schema.org/WebPageElement
cssSelector and xpath is missing from WebPageElement
I can see them on the code but when I am using Nuget package with latest release these properties were missing.
Steps to reproduce
Expected behaviour
I can see the source code is having the property but somehow its missing on nuget release.
public partial interface IWebPageElement : ICreativeWork { ///
/// A CSS selector, e.g. of a <a class="localLink" href="http://schema.org/SpeakableSpecification">SpeakableSpecification</a> or <a class="localLink" href="http://schema.org/WebPageElement">WebPageElement</a>. In the latter case, multiple matches within a page can constitute a single conceptual "Web page element".
///
OneOrMany CssSelector { get; set; }
Schema objects
https://schema.org/WebPageElement