org.openqa.selenium.WebDriverException

com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "Element" is not defined. (http://www.eex.com/blueprint/assets/js/prototype-vendor.js#1) Build info: version: '2.43.0', revision: '597b76b', time: '2014-09-09 20:52:38' System info: host: 'Marija-PC', ip: '169.254.80.80', os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2', java.version: '1.7.0_60' Driver info: driver.version: HtmlUnitDriver

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web103

  • via Unknown by Unknown author,
  • Stack trace

    • org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "Element" is not defined. (http://www.eex.com/blueprint/assets/js/prototype-vendor.js#1) Build info: version: '2.43.0', revision: '597b76b', time: '2014-09-09 20:52:38' System info: host: 'Marija-PC', ip: '169.254.80.80', os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2', java.version: '1.7.0_60' Driver info: driver.version: HtmlUnitDriver at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:489) at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:465) at mk.eds.aggregator.services.impl.EexAggregatorService.getContentFromUrl(EexAggregatorService.java:50) at mk.eds.aggregator.TestService.main(TestService.java:119) Caused by: com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "Element" is not defined. (http://www.eex.com/blueprint/assets/js/prototype-vendor.js#1) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:705) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:591) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1078) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:393) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:268) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:288) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:741) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:701) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:965) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:247) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:193) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:268) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:156) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:468) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:342) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:407) at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:476) ... 3 more Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: ReferenceError: "Element" is not defined. (http://www.eex.com/blueprint/assets/js/prototype-vendor.js#1) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3629) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3613) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3683) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.name(ScriptRuntime.java:1690) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1622) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:582) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:690) ... 32 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    MoYaproMoYapro
    2 times, last one
    raytestraytest
    4 times, last one
    mellsonmellson
    Once,
    DavidDavid
    9 times, last one
    1 more bugmates