Skip to content

Commit

Permalink
forced driver version (#2859)
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 authored and conker84 committed May 18, 2022
1 parent 978b454 commit aab8cff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion full/src/main/java/apoc/load/LoadHtmlBrowser.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public static InputStream getChromeInputStream(String url, Map<String, String> q
}

public static InputStream getFirefoxInputStream(String url, Map<String, String> query, LoadHtmlConfig config, boolean isHeadless, boolean isAcceptInsecureCerts) {
WebDriverManager.firefoxdriver().setup();
WebDriverManager.firefoxdriver()
.driverVersion("0.30.0")
.setup();
FirefoxOptions firefoxOptions = new FirefoxOptions();
firefoxOptions.setHeadless(isHeadless);
firefoxOptions.setAcceptInsecureCerts(isAcceptInsecureCerts);
Expand Down

0 comments on commit aab8cff

Please sign in to comment.