gemini icon indicating copy to clipboard operation
gemini copied to clipboard

New tab stops the process

Open wabisabit opened this issue 7 years ago • 2 comments

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.

wabisabit avatar Jun 20 '18 11:06 wabisabit

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

DudaGod avatar Jun 20 '18 12:06 DudaGod

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();
    //     } );
    } )

wabisabit avatar Jun 20 '18 12:06 wabisabit