I am trying to identify popups where the location bar is not visible in selenium.
JavascriptExecutor js = (JavascriptExecutor) driver; String url = js.executeScript("return window.locationbar.visible;").toString();
The code above works in chrome . Is there a way to do something like this in IE?.I tried running the javascript in console but I do not get "locationbar" option there in IE.