-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] text=
selector to match <input type="submit" value="myinput">
#1427
Comments
dgozman
added a commit
that referenced
this issue
Apr 3, 2020
Inputs of type button and submit are rendered with their value as text, so we match them by text. Fixes #1427.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test case: aesyondu@8548b3d
Would it make sense to allow text selector for input element of type submit, in the same way as a button element?
<button>mybutton</button>
works, but<input type="submit" value="myinput">
doesn't, even though they have very similar functionality.I created a test case above, and played around with
textSelectorEngine.ts
, but couldn't figure out how to make the input test case pass.The text was updated successfully, but these errors were encountered: