I am currently working on detecting popups in Selenium that do not display the location bar.
In my code snippet, I am using JavascriptExecutor to retrieve the visibility of the location bar in Chrome by executing the script "return window.locationbar.visible;".
Although this method works perfectly in Chrome, I am facing difficulty implementing a similar approach in Internet Explorer. When trying to run the JavaScript code in the console, I noticed that the "locationbar" option is not available in IE.