Represents the email input control (input type="email"). Default search is performed by the label.

Inherited from Input.

Supports [Format] and [RandomizeStringSettings] settings attributes.

Syntax

[ControlDefinition("input[@type='email']")]
public class EmailInput<TOwner> : Input<string, TOwner>
    where TOwner : PageObject<TOwner>

Example

<input type="email" id="email">
using Atata;

namespace SampleApp
{
    using _ = SamplePage;

    public class SamplePage : Page<_>
    {
        [FindById]
        public EmailInput<_> Email { get; private set; }
    }
}
Go.To<SamplePage>().
    Email.Set("some@mail.com");