Posted: 21 Jun 2019 18:12 EDT Last activity: 24 Jun 2019 23:33 EDT
How do you click a button that doesn't have any event handlers registered to the element?
I am trying to automate a process that enters a value into a text field, then clicks a button to search for that value. I can enter the text, but when I use the PerformClick method on the button, nothing happens.
When I inspect the element in the browser's developer tools, there are no event listeners registered to the button. Upon further inspection, all event listeners have been added to window.document. How do I automate a button click and have the website recognize it?