chromium/third_party/blink/web_tests/external/wpt/css/selectors/user-invalid-form-submission-invalidation-ref.html

<!DOCTYPE html>
<style>
.red {
  border: 3px solid red;
}
.green {
  border: 3px solid green;
}
</style>

<form>
  <input class=red required>
  <input class=red required>
  <input class=green>
  <button>submit</button>
</form>

<script>
document.querySelector('button').click();
</script>