[test-runner-commands] implement command for choosing option from <select> #1697
Unanswered
WickyNilliams
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Essentially, this would expose the following API https://pptr.dev/#?product=Puppeteer&version=v10.4.0&show=api-elementhandleselectvalues
I assume a similar API is available in other browsers/web drivers.
Without this, it is quite awkward to choose a value from a
<select>
. Of course you could just set itsvalue
prop, but then you don't get an accompanyingchange
event.The command API could look something like this:
Beta Was this translation helpful? Give feedback.
All reactions