Project

General

Profile

Download (513 Bytes) Statistics
| Branch: | Tag: | Revision:
1 6657531f Andreas Kohlbecker
/**
2
 *
3
 */
4
package eu.etaxonomy.dataportal.selenium;
5
6
import org.openqa.selenium.WebDriver;
7
import org.openqa.selenium.support.ui.WebDriverWait;
8
9
/**
10
 * @author andreas
11
 *
12
 */
13
public class JUnitWebDriverWait extends WebDriverWait {
14
15
16 adfb51b3 Andreas Kohlbecker
    public JUnitWebDriverWait(WebDriver driver, long timeOutInSeconds) {
17
        super(driver, timeOutInSeconds);
18
    }
19 6657531f Andreas Kohlbecker
20 adfb51b3 Andreas Kohlbecker
    @Override
21
    protected RuntimeException timeoutException(String message, Throwable lastException) {
22
        throw new AssertionError(message);
23
     }
24 6657531f Andreas Kohlbecker
25
}