assertValue
Asserts that an input element matching string tag has text value expected.
Semantic alias for assertText intended for form field validation.
Example Usage
assertValue("email_input", "alice@example.com")Content copied to clipboard
Parameters
tag
The testTag string or visible text of the input field.
expected
The expected input value.
Asserts that an input element matching selector has text value expected.
Semantic alias for assertText using explicit selectors.
Example Usage
assertValue(tag("phone_input"), "+15550199")Content copied to clipboard
Parameters
selector
Explicit selector targeting the input element.
expected
The expected input value.