use of com.seleniumtests.customexception.ImageSearchException in project seleniumRobot by bhecquet.
the class TestUiElement method testDoubleClickOnPicture.
public void testDoubleClickOnPicture() {
try {
DriverTestPageWithoutFixedPattern.picture.doubleClickAt(0, -20);
} catch (ImageSearchException e) {
throw new SkipException("Image not found, we may be on screenless slave", e);
}
// in case of browser slowness
WaitHelper.waitForMilliSeconds(500);
Assert.assertEquals(DriverTestPageWithoutFixedPattern.logoText.getValue(), "double click ff logo");
}
Aggregations