Replies: 1 comment
-
To get the most natural click, you could use PyAutoGUI if regular clicks aren't going through. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
In our application, we have an HTML table which contains many elements. We have a test were we are clicking on each element of thé table, in order to delete these items.
When clicking on an element, the application will display the element's properties, with a delete button.
Our test is then clicking on the element on the table, then clicking on the delete button (and repeat for each of the elements).
The problem we have: the JavaScript click event is asyncroniously attached to the delete button by a JavaScript running on the page.
Because of that, when we execute sb.click(), SeleniumBase is clicking on the element, but nothing is happening, as the event is not fired.
What would be the best approach with SB?
Thanks a lot for your support!
Beta Was this translation helpful? Give feedback.
All reactions