noty

Catching jQuery noty with Katalon Studio

依然范特西╮ 提交于 2020-01-06 06:18:11
问题 My AUT has a jQuery "noty" that appears after clicking on a button. ("Noty" is a jQuery plugin for message/notification creation.) The message stays on screen for a couple of seconds and then goes away. I'm afraid that's to fast for methods such as Katalon's 'WebUI.verifyElementPresent()' . Is there another way to catch it with Katalon Studio or Selenium ? 回答1: Yes, there is a way to handle this situation: import org.openqa.selenium.support.ui.WebDriverWait as WebDriverWait WebDriverWait wait