com.github.siwenyan.si.SiCommandExecutorVerifyElementNotPresent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of side Show documentation
Show all versions of side Show documentation
Java runner of Selenium IDE project
package com.github.siwenyan.si;
class SiCommandExecutorVerifyElementNotPresent extends SiCommandExecutor implements ISiCommandExecutorFlagUi {
@Override
public void execute(SiCommand command, SiContext siContext) throws SiVerifyException, SiWebDriverException {
try {
siContext.getExecutorManager().getBasicExecutor("waitForElementVisible").execute(command, siContext);
} catch (Exception e) {
if (e.getMessage().startsWith("Time out")) {
// Verify OK: not found
} else {
throw e;
}
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy