Skip to main content

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

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

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

or

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

Was this article helpful?

0 out of 0 found this helpful