Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 497666f

Browse files
committed
Added warning about unsupported commands in certain WebDrivers
Since not all WebDriver implementations support the commands issued by Selenium's Actions class, there should be a note to point users in the right direction when issues occure.
1 parent 4c4ae2a commit 497666f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

webtester-core/src/main/java/info/novatec/testit/webtester/mouse/DefaultMouseDriver.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import java.util.function.BiFunction;
88

99
import org.openqa.selenium.TimeoutException;
10+
import org.openqa.selenium.WebDriver;
1011
import org.openqa.selenium.WebElement;
1112
import org.openqa.selenium.interactions.Actions;
1213

@@ -20,6 +21,10 @@
2021

2122
/**
2223
* The default implementation of a {@link MouseDriver}.
24+
* <p>
25+
* <b>Note:</b> Methods provided by this class depend on Selenium's {@link Actions} class.
26+
* There are some {@link WebDriver} implementation (e.g. v3.0.1 of the Marionette-based FirefoxDriver)
27+
* which do not support the commands issued by {@link Actions}!
2328
*
2429
* @since 2.0
2530
*/

webtester-core/src/main/java/info/novatec/testit/webtester/mouse/Mouse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
/**
2121
* This class is used to perform a variety of mouse related actions.
22+
* <p>
23+
* <b>Note:</b> Methods provided by this class depend on Selenium's {@link Actions} class.
24+
* There are some {@link WebDriver} implementation (e.g. v3.0.1 of the Marionette-based FirefoxDriver)
25+
* which do not support the commands issued by {@link Actions}!
2226
*
2327
* @see OnPageFragment
2428
* @see Sequence

0 commit comments

Comments
 (0)