I needed a selector for a temporary pop-up, but it was impossible to get it in time as it would disappear quickly. Found a small trick using browser devtools.
- Open console
- Run the following javascript:
setTimeout(() => { debugger; }, 5000)
{.single} - Click the element that calls the pop-up
Browser will enter debugger mode in 5 seconds (you can adjust), freeze the page and you can inspect the pop-up.