This is intended as a Q and A post for sharing successful strategies. Please, feel free to add more solutions!
- Automating a web application
- Tester with limited access to the codebase
- Using Selenium and DevTools
There is a spinner element (for example:
"Loading... Please wait.") to notify the user of the temporarily unresponsive page (by design, while the content is being loaded). You are trying to write a locator (id, name, CSS, XPath ...) for the spinner element but you are unable to right-click and inspect it because it is present on the page for only a fraction of a second.
How do you do that?