We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc9ab10 commit 95ef23cCopy full SHA for 95ef23c
src/test/java/org/htmlunit/html/HtmlTextInputTest.java
@@ -27,7 +27,6 @@
27
import org.junit.runner.RunWith;
28
import org.openqa.selenium.By;
29
import org.openqa.selenium.InvalidElementStateException;
30
-import org.openqa.selenium.JavascriptException;
31
import org.openqa.selenium.Keys;
32
import org.openqa.selenium.WebDriver;
33
import org.openqa.selenium.WebElement;
@@ -676,7 +675,7 @@ public void sendKeysEnterWithoutForm() throws Exception {
676
675
/**
677
* @throws Exception if the test fails
678
*/
679
- @Test(expected = JavascriptException.class)
+ @Test(expected = UnsupportedOperationException.class)
680
public void submitWithoutForm() throws Exception {
681
final String html =
682
"<html>\n"
0 commit comments