Represents the URL input control (<input type="url">). Default search is performed by the label.

Inherited from Input.

Supports [Format] and [RandomizeStringSettings] settings attributes.

Syntax

[ControlDefinition("input[@type='url']", ComponentTypeName = "URL input")]
public class UrlInput<TOwner> : Input<string, TOwner>
    where TOwner : PageObject<TOwner>

Example

<input type="url" id="some-url">
using Atata;

namespace SampleApp
{
    using _ = SamplePage;

    public class SamplePage : Page<_>
    {
        [FindById]
        public UrlInput<_> SomeUrl { get; private set; }
    }
}
Go.To<SamplePage>().
    SomeUrl.Set("http://someurl.com");