com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (https://accounts-aws-test.iqueue.com/resources/vendor/jquery-2.1.4/jquery-2.1.4.min.js#2) Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43' System info: host: 'PRINHYLTPHP0326', ip: '172.16.52.75', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_60' Driver info: driver.version: HtmlUnitDriver

Google Groups | vemula prasad | 11 months 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

    com.gargoylesoftware.htmlunit.ScriptException while using htmlunit driver from jmeter

    Google Groups | 11 months ago | vemula prasad
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (https://accounts-aws-test.iqueue.com/resources/vendor/jquery-2.1.4/jquery-2.1.4.min.js#2) Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43' System info: host: 'PRINHYLTPHP0326', ip: '172.16.52.75', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_60' Driver info: driver.version: HtmlUnitDriver

    Root Cause Analysis

    1. com.gargoylesoftware.htmlunit.ScriptException

      TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (https://accounts-aws-test.iqueue.com/resources/vendor/jquery-2.1.4/jquery-2.1.4.min.js#2) Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43' System info: host: 'PRINHYLTPHP0326', ip: '172.16.52.75', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_60' Driver info: driver.version: HtmlUnitDriver

      at org.openqa.selenium.htmlunit.HtmlUnitDriver.get()
    2. selenium-htmlunit-driver
      HtmlUnitDriver.get
      1. org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:554)
      2. org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:530)
      2 frames