The following sample checks the status of span element.

<span id="status">Success</span>

For example, span can contain “Success” or “Failure” status. Available options can be described with enum:

public enum Status
{
    Success,
    Failure
}
using Atata;
using _ = SampleApp.SamplePage;

namespace SampleApp
{
    public class SamplePage : Page<_>
    {
        [FindById]
        public Content<Status, _> Status { get; private set; }
    }
}
Go.To<SamplePage>().
    Status.Should.Equal(Status.Success);

Supports [Format] and [Culture] settings attributes.