The specified element is:
<a href="#" onclick="submitViaAjax(null, url);return false;">Add</a>
After using element.click() to try clicking the link, the onclick method fails to execute.
Is there a way to ensure the method is executed successfully?
Thank you!