Skip to main content

Element not visible exception

When you encounter the following exception: selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted.

Add the Wait For Element Visible keyword before the one having this issue. To learn more about the Wait For Element Visible keyword, you can refer to this document here: [WebUI] Wait For Element Visible.
WebUI.openBrowser('http://demoaut.katalon.com')
WebUI.waitForElementVisible(findtestObject('btn_Login'),30)
WebUI.click(findTestObject('btn_Login'))