Skip to content

Commit bd9b31b

Browse files
authored
Merge pull request #6 from seleniumhq-community/pr/release-4.28.0
Upgrade to 4.28.0; add action pauses
2 parents 75e4d0f + fa7daf5 commit bd9b31b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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>
@@ -32,8 +32,8 @@
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>

src/test/java/org/openqa/selenium/htmlunit/remote/HtmlUnitDriverRemoteActionsTest.java

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
import static java.net.HttpURLConnection.HTTP_OK;
2121

22+
import java.time.Duration;
23+
2224
import org.junit.Test;
2325
import org.openqa.selenium.By;
2426
import 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));

0 commit comments

Comments
 (0)