com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getBoundingClientRect in object [object HTMLDivElement]. (http://localhost:8080/share/res/js/yui-common.js#11)

htmlunit | jevonwright | 5 years 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

    getBoundingClientRect not supported

    htmlunit | 5 years ago | jevonwright
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getBoundingClientRect in object [object HTMLDivElement]. (http://localhost:8080/share/res/js/yui-common.js#11)

    Root Cause Analysis

    1. net.sourceforge.htmlunit.corejs.javascript.EcmaError

      TypeError: Cannot find function getBoundingClientRect in object [object HTMLDivElement]. (http://localhost:8080/share/res/js/yui-common.js#11)

      at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError()
    2. HtmlUnit Core JS
      ScriptRuntime.getElemFunctionAndThis
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3790)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]
      2. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3768)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]
      3. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3796)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]
      4. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3815)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]
      5. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3885)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]
      6. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2363)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]
      7. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2315)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]
      8. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getElemFunctionAndThis(ScriptRuntime.java:2267)[htmlunit-core-js-2.10-SNAPSHOT.jar:na]
      8 frames