w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
336 stars 35 forks source link

Throw for setFiles on single inputs #668

Closed jrandolf closed 4 months ago

jrandolf commented 4 months ago

We should throw when multiple files are being set for a non-multiple input.


Preview | Diff

jgraham commented 4 months ago

Although, I just noticed that this entire bit assumes we can access properties on elements like |element|["<code>property</code>"], which we just totally can't.