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.

  1. Open console
  2. Run the following javascript: setTimeout(() => { debugger; }, 5000){.single}
  3. 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.