gemini
gemini copied to clipboard
New tab stops the process
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.
Hello. Can you provide log from your console and your test which you run?
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();
// } );
} )