QA automation

QA automation

Also calling a click event would be useful for QA (GUI test automation). Instead of trying to understand the developer code to find which function is the actual handler, the GUI tester could have a generic "button.doClick()" call to simulate a user click with UX and behavior integrated.