Hi,
It seems calling WebUI.Click triggers a page scroll, is there anyway to disable this behaviour?
Thanks.
Hi,
It seems calling WebUI.Click triggers a page scroll, is there anyway to disable this behaviour?
Thanks.
Hi Davie,
You can’t disable this behavior. By default Katalon will scroll to the element automatically first and then click on it to avoid some unexpected exceptions such as element is not visible in current viewport and so on.
Regards
Maybe you can use a workaround. Something like
if (WebUI.verifyElementInViewport(to)){
WebUI.click(to)
} else {
// don't click
}