Skip to content

Commit

Permalink
Ignore script errors
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Oct 29, 2024
1 parent a23e7d5 commit e6fd128
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void testWithIdenticalNames() throws IOException {
final URI uri = reportsFile.toURI();

try (WebClient webClient = new WebClient()) {
webClient.getOptions().setThrowExceptionOnScriptError(false);
HtmlPage page = webClient.getPage(uri.toURL());
HtmlAnchor a = (HtmlAnchor)
page.getByXPath("//a[@href = \"javascript:toggleDisplay('surefire260.TestB.testDup');\"]")
Expand Down

0 comments on commit e6fd128

Please sign in to comment.