I am new to HTMLUnit. I am trying to get information from a public site (given in the code below). While I can open this public url in Chrome browser or Chrome Selenium extension without error and continue functioning with it, my HTMLUnit program is throwing an error as below which it seems is stemming from a particular Javascript in the page. My question is, how to resolve this kind of problem ? I cannot disable the javascript altogether as the form section with details will not be available in that case. However if I use the command
EcmaError: lineNumber=[55] column=[0] lineSource=[] name=[TypeError] sourceName=[https://www.marutisuzuki.com/js/server_cookies.js] message=[TypeError: Cannot find function fetchServerCookie in object [object Object]. (https://www.marutisuzuki.com/js/server_cookies.js#55)]
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function fetchServerCookie in object [object Object]. (
