diff --git a/src/test/java/org/openqa/selenium/htmlunit/HtmlUnitElementTest.java b/src/test/java/org/openqa/selenium/htmlunit/HtmlUnitElementTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/openqa/selenium/htmlunit/HtmlUnitElementTest.java
+++ b/src/test/java/org/openqa/selenium/htmlunit/HtmlUnitElementTest.java
@@ -61,7 +61,7 @@ public class HtmlUnitElementTest extends TestBase {
     driver.get(testServer.page("formPage.html"));
     WebElement input = driver.findElement(By.id("upload"));
     input.sendKeys("example.txt");
-    assertThat(input.getAttribute("value"), equalTo("example.txt"));
+    assertThat(input.getAttribute("value"), equalTo("C:\\fakepath\\example.txt"));
   }
 
   @Test
Fix test case, to match Chrome expectations