Call this InteractorConstructor to initialize a time field Interactor. The time field interactor can be used to interact with date
fields on the page and to assert on their state. A time field is the time type input
tag with a text-like interface.
The time field is located by the text of its label.
Call this InteractorConstructor to initialize a time field Interactor. The time field interactor can be used to interact with date fields on the page and to assert on their state. A time field is the time type input tag with a text-like interface.
The time field is located by the text of its label.
Example
Filters
title: string – Filter by titleid: string – Filter by idvisible: boolean – Filter by visibility. Defaults totrue. See isVisible.value: string – Filter by the time field's current value in ISO format.date: Date | null – Filter by the time field's current value as date.timestamp: number – Filter by the time field's current value as timestamp.placeholder: string – Filter by the time field's placeholder attribute.valid: boolean – Filter by whether the time field is valid.disabled: boolean – Filter by whether the time field is disabled. Defaults tofalse.focused: boolean – Filter by whether the time field is focused. See focused.Actions
click(): Interaction – Click on the time fieldfocus(): Interaction – Move focus to the time fieldblur(): Interaction – Move focus away from the time fieldfillIn(value: string): Interaction – Fill in the time field with the given value. See fillIn.