TestCafe Typescript - how to assert the value of a disabled HTML input element?
The element is disabled to avoid interaction by the end user. However, I would like to check that this element contains the expected value.
example
public async checksomething(text: string) {
const inputElement = this.inputSelector();
await t
.click(this.someDiv())
.expect(inputElement().value)
.contains(text);
}