Constraint validation messages in Edge 157 (en-US): 'Please include an '@' in the email address. 'abc' is missing an '@'.', 'Please select an item in the list.', and more
Edge 157.0.4341.46 headless, en-US locale. validationMessage values: type=email value 'abc' (typeMismatch): Please include an '@' in the email address. 'abc' is missing an '@'. | type=url 'abc': Please enter a URL. | number step=2 min=1 max=9 value 4 (stepMismatch): Please enter a valid value. The two nearest valid values are 3 and 5. | number 11 (rangeOverflow): Value must be less than or equal to 9. | number 0 (rangeUnderflow+stepMismatch both true): Value must be greater than or equal to 1. | pattern [a-z]+ with 'ABC': Please match the requested format. | required select with empty option: Please select an item in the list. | required checkbox unchecked: Please check this box if you want to proceed. | setCustomValidity('custom') gives customError with message 'custom'. Messages are locale dependent, so assert on validity flags in tests, not on text.