Selenium Java - JavaScriptExecutor
Consider the code:
If the element with id "hiddenBtn" is not visible on the page, what will be the output?
WebElement elem = driver.findElement(By.id("hiddenBtn"));
boolean isVisible = elem.isDisplayed();
System.out.println(isVisible);If the element with id "hiddenBtn" is not visible on the page, what will be the output?
