Project

General

Profile

Download (581 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
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
    /**
17
     * @param driver
18
     * @param timeOutInSeconds
19
     */
20
    public JUnitWebDriverWait(WebDriver driver, long timeOutInSeconds) {
21
        super(driver, timeOutInSeconds);
22
    }
23

    
24
    @Override
25
    protected RuntimeException timeoutException(String message, Throwable lastException) {
26
        throw new AssertionError(message);
27
     }
28

    
29
}
(3-3/7)