From d57b0089029b28952a0f65b04bc5b2021687f342 Mon Sep 17 00:00:00 2001 From: Scott Babcock Date: Thu, 5 Dec 2024 17:39:02 -0800 Subject: [PATCH 1/3] [maven-release-plugin] prepare release htmlunit-remote-4.27.0 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 743bd45..ca15332 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.nordstrom.ui-tools htmlunit-remote - 4.26.1-SNAPSHOT + 4.27.0 htmlunit-remote This is the remote wrapper for HtmlUnitDriver @@ -44,7 +44,7 @@ scm:git:https://github.com/sbabcoc/htmlunit-remote.git scm:git:https://github.com/sbabcoc/htmlunit-remote.git https://github.com/sbabcoc/htmlunit-remote/tree/master - htmlunit-remote-4.26.0 + htmlunit-remote-4.27.0 From af3f9691956fef574cb370356b2a4c0fa1eee1ac Mon Sep 17 00:00:00 2001 From: Scott Babcock Date: Thu, 5 Dec 2024 17:39:05 -0800 Subject: [PATCH 2/3] [maven-release-plugin] prepare for next development iteration --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ca15332..0e2fb6a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.nordstrom.ui-tools htmlunit-remote - 4.27.0 + 4.27.1-SNAPSHOT htmlunit-remote This is the remote wrapper for HtmlUnitDriver @@ -44,7 +44,7 @@ scm:git:https://github.com/sbabcoc/htmlunit-remote.git scm:git:https://github.com/sbabcoc/htmlunit-remote.git https://github.com/sbabcoc/htmlunit-remote/tree/master - htmlunit-remote-4.27.0 + htmlunit-remote-4.26.0 From fa7daf53e395a6773a15f97675db6031faecd4c4 Mon Sep 17 00:00:00 2001 From: Scott Babcock Date: Mon, 27 Jan 2025 18:15:44 -0800 Subject: [PATCH 3/3] Upgrade to 4.28.0; add action pauses --- pom.xml | 4 ++-- .../htmlunit/remote/HtmlUnitDriverRemoteActionsTest.java | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 0e2fb6a..0eaa320 100644 --- a/pom.xml +++ b/pom.xml @@ -32,8 +32,8 @@ yyyy-MM-dd HH:mm 11 11 - 4.27.0 - 4.27.0 + 4.28.0 + 4.28.0 10.15.0 4.8.4 9.1.0 diff --git a/src/test/java/org/openqa/selenium/htmlunit/remote/HtmlUnitDriverRemoteActionsTest.java b/src/test/java/org/openqa/selenium/htmlunit/remote/HtmlUnitDriverRemoteActionsTest.java index 149ba64..f473a85 100644 --- a/src/test/java/org/openqa/selenium/htmlunit/remote/HtmlUnitDriverRemoteActionsTest.java +++ b/src/test/java/org/openqa/selenium/htmlunit/remote/HtmlUnitDriverRemoteActionsTest.java @@ -19,6 +19,8 @@ import static java.net.HttpURLConnection.HTTP_OK; +import java.time.Duration; + import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.htmlunit.HtmlUnitWebElement; @@ -36,7 +38,9 @@ public void shouldBeAbleToProcessActions() throws Exception { HtmlUnitWebElement clickable = (HtmlUnitWebElement) getWebDriver().findElement(By.id("clickable")); Actions actions = new Actions(getWebDriver()) .moveToElement(clickable) + .pause(Duration.ofSeconds(1)) .click() + .pause(Duration.ofSeconds(1)) .sendKeys("abc"); CommandPayload payload = DriverCommand.ACTIONS(actions.getSequences()); HttpRequest request = commandCodec.encode(new Command(sessionId(), payload));