sanniassin / react-input-mask

Input masking component for React. Made with attention to UX.
MIT License
2.22k stars 257 forks source link

Cannot change value via Firefox webdriver #172

Open robaca opened 5 years ago

robaca commented 5 years ago

We are performing acceptance tests using the webdriver api on SauceLabs. In all browsers, we can change a field value via input.setAttribute('value', ...) or sendKeys(), but in Firefox none of these are working. The old value is still found in the field.

robaca commented 5 years ago

We finally found a solution. With Geb, it looks like js.exec(input.firstElement(), "arguments[0].value = '${text}'")

robaca commented 5 years ago

Sorry, have to re-open this (ran the test with another browser).