We have a relatively simple React component with an input
element in it:
export class MyInput extends Component {
componentDidMount() {
functi
When setting the nativeEvents
capability to false
(which is what you’re setting with the EnableNativeEvents
property), you’re telling the IE driver to use JavaScript to simulate the events. Events simulated via JavaScript
cannot have the isTrusted property set to true. That property is designed to detect exactly the scenario you’re experiencing. The driver implementations for Firefox and Chrome are produced and maintained by the vendors for those browsers (Mozilla and Google, respectively), and as such, those drivers have access to internals of the browser in ways that the IE driver does not (and likely never will) have. If React is indeed keying off that property to fire the onChanged
event, then the proper thing to do here is set EnableNativeEvents = true
.