Results 1 to 4 of 4

Thread: Running simple test case with Firefox under Selenium fails:Global leaks check

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2007
    Location
    NYC
    Posts
    94

    Default Running simple test case with Firefox under Selenium fails:Global leaks check

    I have a jasmine test that is using a page object with a login form to login via SSO and land on the extjs app. This test runs successfully with the embedded web driver with Chrome, but I get an error in Firefox after the page that I wanted to view shows.

    Code:
    Global leaks check threw an error: Unexpected modal dialog (text: Error! : NetworkError: A network error occurred.) The alert could not be closed. The browser may be in a wildly inconsistent state, and the alert may still be open. This is not good. If you can reliably reproduce this, please report a new issue at https://github.com/SeleniumHQ/selenium/issues with reproduction steps. Exception message: TypeError: a.document.getElementsByTagName(...)[0].getButton is not a function: Error! : NetworkError: A network error occurred.
    Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58'
    System info: host: 'xxxx', ip: 'xxxx', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_79'
    Session ID: 787b07f0-7875-4116-8ce2-b20b649047a4
    Driver info: org.openqa.selenium.firefox.FirefoxDriver
    Capabilities [{platform=WINDOWS, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=45.8.0}]
    Sencha Test 2.2.0.61/ExtJs 6.2.1/Cmd 6.2.1.29/Firefox 45/Selenium 2.5.3

    I suppose this is a Firefox/Selenium issue?

  2. #2
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Hi--

    Do you have an alert() occurring within your application? With geckodriver, an exception like this will be thrown if a native modal dialog is encountered that wasn't issued from WebDriver. And (perhaps unfortunately) the default behavior is for geckodriver to close the dialog and throw the exception.

    https://stackoverflow.com/questions/...l-dialog-alert

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2007
    Location
    NYC
    Posts
    94

    Default

    I didn't notice, but I'll investigate.

  4. #4
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Quote Originally Posted by JEBriggs View Post
    I didn't notice, but I'll investigate.
    Sounds good! Let me know if there's anything else I can assist with regarding this issue. Thanks!

Similar Threads

  1. Replies: 1
    Last Post: 9 Aug 2016, 3:46 AM
  2. Replies: 3
    Last Post: 3 Aug 2016, 5:01 AM
  3. Replies: 2
    Last Post: 2 Aug 2016, 7:31 PM
  4. [FIXED] 5.x Global leaks
    By mankz in forum Ext 5: Bugs
    Replies: 3
    Last Post: 4 Apr 2014, 2:29 PM
  5. [FIXED] [4.2] Global 'leaks' in ext-all.js
    By mankz in forum Ext:Bugs
    Replies: 1
    Last Post: 4 Feb 2013, 8:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •