Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

New tab stops the process #920

Open
Open

Description

@wabisabit

Gemini version 5.7.2

When running tests, the process gets stuck if a new tab opens (with a bank payment website for example). Is there a way around it or is it a bug?

I could only think of using window.focus() inside an executeJS() action but it doesn't help.

Activity

  1. DudaGod commented on Jun 20, 2018

    @DudaGod
    Member

    Hello.
    Can you provide log from your console and your test which you run?

  2. wabisabit commented on Jun 20, 2018

    @wabisabit
    Author

    Hi!
    the console doesn't output anything after the last successful test, it just hangs.

    // More successful tests before
    .capture( 'Working', function( actions, find ) {
    
          helper.clickAndWaitForPopup( actions, find( '.wPremium' ) );
        } )
        .capture( 'Stuck: no capture', function( actions, find ) { 
        
           actions
               .click( find( '.pay' ) ) // Opens the new tab
               .wait( 1000 );
        //     .executeJS( function( window ) {     //     Doesn't help
        //       window.focus();
        //     } );
        } )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions