com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function addEventListener in object (https://academico.ifrn.edu.br/qacademico/lib/scripts/logins.js#25) Build info: version: '2.23.1', revision: 'unknown', time: '2012-06-08 12:33:29' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_24' Driver info: driver.version: HtmlUnitDriver at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:352) at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:333)

grokbase.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [selenium-users] TypeError: Cannot find function addEventListener in object Exception using HtmlUnitDriver - Grokbase

    grokbase.com | 7 months ago
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function addEventListener in object (https://academico.ifrn.edu.br/qacademico/lib/scripts/logins.js#25) Build info: version: '2.23.1', revision: 'unknown', time: '2012-06-08 12:33:29' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_24' Driver info: driver.version: HtmlUnitDriver at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:352) at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:333)

    Root Cause Analysis

    1. com.gargoylesoftware.htmlunit.ScriptException

      TypeError: Cannot find function addEventListener in object (https://academico.ifrn.edu.br/qacademico/lib/scripts/logins.js#25) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:595) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:499) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:973) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:349) at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:220) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:240) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:598) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:556) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1142) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1044) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329) at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3018) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2005)

      at org.cyberneko.html.HTMLScanner.scanDocument()
    2. Maven
      HTMLScanner.scanDocument
      1. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:908)
      1 frame