Hi,
I'm testing HTMLUnit to run the following file https://raw.githubusercontent.com/ebocher/data_map/master/testResponsiveBarChart.html and then save the chart in a png file (from vega-lite save function).
Here the code I used
final HtmlPage page = webClient.getPage("file:///tmp/testResponsiveBarChart.html");
webClient.getOptions().setJavaScriptEnabled(true);
webClient.waitForBackgroundJavaScript(50);
I got following exception :
GRAVE: Error during JavaScript execution
======= EXCEPTION START ========
Exception class=[net.sourceforge.htmlunit.corejs.javascript.EvaluatorException]
com.gargoylesoftware.htmlunit.ScriptException: missing formal parameter (https://cdn.jsdelivr.net/npm/[email protected]#1)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:960)
HtmlUnit Version: 2.54.0-SNAPSHOT
Java : 11.0
OS : Ubuntu
Thanks for any help
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too