Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.nordstrom.ui-tools</groupId>
<artifactId>htmlunit-remote</artifactId>
<version>4.26.1-SNAPSHOT</version>
<version>4.27.1-SNAPSHOT</version>

<name>htmlunit-remote</name>
<description>This is the remote wrapper for HtmlUnitDriver</description>
Expand All @@ -32,8 +32,8 @@
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<selenium.version>4.27.0</selenium.version>
<htmlunit.version>4.27.0</htmlunit.version>
<selenium.version>4.28.0</selenium.version>
<htmlunit.version>4.28.0</htmlunit.version>
<checkstyle.version>10.15.0</checkstyle.version>
<spotbugs.version>4.8.4</spotbugs.version>
<dependencycheck.version>9.1.0</dependencycheck.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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));
Expand Down