Represents the whole HTML page and is the main base class to inherit for the pages. Uses the <body> tag as a scope.

Inherited from PageObject.

Inherited class supports [PageObjectDefinition], [ControlFinding], [FindSettings], [TermFindSettings] and [Culture] settings attributes.

Syntax

[PageObjectDefinition(ComponentTypeName = "page", IgnoreNameEndings = "Page,PageObject")]
public class Page<TOwner> : PageObject<TOwner>
    where TOwner : Page<TOwner>

Example

using Atata;

namespace SampleApp.Tests
{
    using _ = SamplePage;

    [VerifyTitle("Sample Page")]
    [VerifyContent("Some inner text")]
    [Url("some/page")]
    public class SamplePage : Page<_>
    {
    }
}