File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/test/java/org/openqa/selenium/htmlunit/remote Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 55
66 <groupId >com.nordstrom.ui-tools</groupId >
77 <artifactId >htmlunit-remote</artifactId >
8- <version >4.26 .1-SNAPSHOT</version >
8+ <version >4.27 .1-SNAPSHOT</version >
99
1010 <name >htmlunit-remote</name >
1111 <description >This is the remote wrapper for HtmlUnitDriver</description >
3232 <maven .build.timestamp.format>yyyy-MM-dd HH:mm</maven .build.timestamp.format>
3333 <maven .compiler.source>11</maven .compiler.source>
3434 <maven .compiler.target>11</maven .compiler.target>
35- <selenium .version>4.27 .0</selenium .version>
36- <htmlunit .version>4.27 .0</htmlunit .version>
35+ <selenium .version>4.28 .0</selenium .version>
36+ <htmlunit .version>4.28 .0</htmlunit .version>
3737 <checkstyle .version>10.15.0</checkstyle .version>
3838 <spotbugs .version>4.8.4</spotbugs .version>
3939 <dependencycheck .version>9.1.0</dependencycheck .version>
Original file line number Diff line number Diff line change 1919
2020import static java .net .HttpURLConnection .HTTP_OK ;
2121
22+ import java .time .Duration ;
23+
2224import org .junit .Test ;
2325import org .openqa .selenium .By ;
2426import org .openqa .selenium .htmlunit .HtmlUnitWebElement ;
@@ -36,7 +38,9 @@ public void shouldBeAbleToProcessActions() throws Exception {
3638 HtmlUnitWebElement clickable = (HtmlUnitWebElement ) getWebDriver ().findElement (By .id ("clickable" ));
3739 Actions actions = new Actions (getWebDriver ())
3840 .moveToElement (clickable )
41+ .pause (Duration .ofSeconds (1 ))
3942 .click ()
43+ .pause (Duration .ofSeconds (1 ))
4044 .sendKeys ("abc" );
4145 CommandPayload payload = DriverCommand .ACTIONS (actions .getSequences ());
4246 HttpRequest request = commandCodec .encode (new Command (sessionId (), payload ));
You can’t perform that action at this time.
0 commit comments