Menu

#1592 Run agains page using jQuery 2.1.0 reports UnknownError

Latest SVN
closed
jquery (3)
1
2015-04-03
2014-04-01
Yang
No

Just running selenium-webdriver against a page using jQuery 2.1.0, but reports an UnknownError:

 UnknownError: TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (http://xxxxxxxxxx.net/lib/jquery/jquery-2.1.0.min.js#2)

Same code could run well with FireFox and other browsers, and no errors reported.

Discussion

  • Ahmed Ashour

    Ahmed Ashour - 2014-05-30
    • status: open --> pending
    • assigned_to: Ahmed Ashour
     
  • Ahmed Ashour

    Ahmed Ashour - 2014-05-30

    Can you try with HtmlUnit Snapshot?

    Because the below gives value by HtmlUnit for both FF and Chrome.

    alert(document.addEventListener);

     
  • Ahmed Ashour

    Ahmed Ashour - 2015-04-03
    • status: pending --> closed
     
  • Ahmed Ashour

    Ahmed Ashour - 2015-04-03

    No response from user, closing.

     

Log in to post a comment.

MongoDB Logo MongoDB