summaryrefslogtreecommitdiffstats
path: root/uitest-common
diff options
context:
space:
mode:
Diffstat (limited to 'uitest-common')
-rw-r--r--uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java
index 69762141d8..6a82492da5 100644
--- a/uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java
+++ b/uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java
@@ -1003,6 +1003,15 @@ public abstract class AbstractTB3Test extends ParallelTest {
}
}
+ protected void clickElement(WebElement element) {
+ if (BrowserUtil.isFirefox(getDesiredCapabilities())) {
+ // Workaround for Selenium/TB and Firefox 45 issue
+ ((TestBenchElement) (element)).clickHiddenElement();
+ } else {
+ element.click();
+ }
+ }
+
protected boolean isLoadingIndicatorVisible() {
WebElement loadingIndicator = findElement(
By.className("v-loading-indicator"));