Over the last 7 years, I've consulted several testing teams on test automation projects for their web applications, and the most frequent troubleshooting request I get is about clicking some button on some website.
It's just pressing a button... how hard could it be... right?
I came to discover there's many edge cases when it comes to simply executing a click on a button.
For example, how do you click a button that re-renders when the mouse hover over it? If you tried to click on the button that used to be there before, then you'll get a "stale element reference".
How about a button that moves when the mouse goes over it?
How about a button that is partially obscured by another element?
How about a button nested in several scrollable containers?
Unfortunately, these trick buttons are real scenarios I've seen in real business applications.
In this presentation / live coding session, I'll show you some trick buttons, and how to hit them on the bullseye.