Currently, I am automating the GUI of my website using Selenium (RobotFramework). However, I have encountered an issue:
Occasionally, when my automation script clicks on an element such as a button or link that is supposed to trigger an action, nothing happens. Interestingly, this issue seems to occur randomly. Manual testing shows that the functionality works consistently. One possible reason could be that in slower machines or environments, this problem occurs more frequently.
I suspect that this issue may stem from the JS not being fully loaded yet or perhaps an "action binding" with each element has not been completed.
Questions for consideration: - Is there a method to determine if all JS calls have been completed? - Regarding action binding, how can we verify if it has been bound successfully?
If you have any alternative solutions, please feel free to share them.