Knowledge Base

  1. Home
  2. Knowledge Base
  3. Technical Support
  4. Troubleshooting
  5. Use .execute() if .click() is not working

Use .execute() if .click() is not working

In case that .click() is not working as expected, you can try use the following code:

.execute('document.getElementById("ID_without_#")[0].click()')

or

.execute('document.getElementsByClassName("ID_without_.")[0].click()')

 

Was this article helpful?

Related Articles

Leave a Reply 0 comments

Leave a Reply: