File tree 2 files changed +7
-3
lines changed
src/test/java/org/openqa/selenium/htmlunit/remote
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
<groupId >com.nordstrom.ui-tools</groupId >
7
7
<artifactId >htmlunit-remote</artifactId >
8
- <version >4.26 .1-SNAPSHOT</version >
8
+ <version >4.27 .1-SNAPSHOT</version >
9
9
10
10
<name >htmlunit-remote</name >
11
11
<description >This is the remote wrapper for HtmlUnitDriver</description >
32
32
<maven .build.timestamp.format>yyyy-MM-dd HH:mm</maven .build.timestamp.format>
33
33
<maven .compiler.source>11</maven .compiler.source>
34
34
<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>
37
37
<checkstyle .version>10.15.0</checkstyle .version>
38
38
<spotbugs .version>4.8.4</spotbugs .version>
39
39
<dependencycheck .version>9.1.0</dependencycheck .version>
Original file line number Diff line number Diff line change 19
19
20
20
import static java .net .HttpURLConnection .HTTP_OK ;
21
21
22
+ import java .time .Duration ;
23
+
22
24
import org .junit .Test ;
23
25
import org .openqa .selenium .By ;
24
26
import org .openqa .selenium .htmlunit .HtmlUnitWebElement ;
@@ -36,7 +38,9 @@ public void shouldBeAbleToProcessActions() throws Exception {
36
38
HtmlUnitWebElement clickable = (HtmlUnitWebElement ) getWebDriver ().findElement (By .id ("clickable" ));
37
39
Actions actions = new Actions (getWebDriver ())
38
40
.moveToElement (clickable )
41
+ .pause (Duration .ofSeconds (1 ))
39
42
.click ()
43
+ .pause (Duration .ofSeconds (1 ))
40
44
.sendKeys ("abc" );
41
45
CommandPayload payload = DriverCommand .ACTIONS (actions .getSequences ());
42
46
HttpRequest request = commandCodec .encode (new Command (sessionId (), payload ));
You can’t perform that action at this time.
0 commit comments