Currently, I am conducting tests on a website that utilizes in-browser pop-ups to display details about objects. These pop-ups are occasionally modal, meaning they render the rest of the screen unusable and activate a gray transparent overlay that covers everything except for the pop-up. It is important for me to verify if this overlay appears as intended.
Unfortunately, I do not have sufficient knowledge regarding how these overlays are implemented to know where to look in the DOM for the specific properties controlling this feature. Therefore, I am seeking guidance from someone more familiar with configuring such overlays to help direct me to the correct location.
While one solution could be simply clicking a button to observe the outcome, I prefer to create a method that can be utilized consistently across the entire testing suite rather than creating separate checks for each scenario.
For those curious, I am coding in Java using Selenium.