com.gargoylesoftware.htmlunit.ScriptException: The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:280) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:710) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:102)

htmlunit | kurti | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JavaScript: Link clicking does not work correctly

    htmlunit | 1 decade ago | kurti
    com.gargoylesoftware.htmlunit.ScriptException: The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:280) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:710) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:102)

    Root Cause Analysis

    1. com.gargoylesoftware.htmlunit.ScriptException

      The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:280) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:710) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:102)

      at JavaScriptTest.test()
    2. Unknown
      JavaScriptTest.main
      1. JavaScriptTest.test(JavaScriptTest.java:34)
      2. JavaScriptTest.main(JavaScriptTest.java:22)
      2 frames