File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/selenium-ide/src/neo/IO/SideeX Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -393,11 +393,11 @@ export default class BackgroundRecorder {
393393 // In Google Chrome, window.prompt() must be triggered in
394394 // an actived tabs of front window, so we let panel window been focused
395395 browser . windows
396- . update ( this . windowSession . selfWindowId , { focused : true } )
397- . then ( function ( ) {
396+ . update ( this . windowSession . ideWindowId , { focused : true } )
397+ . then ( ( ) => {
398398 // Even if window has been focused, window.prompt() still failed.
399399 // Delay a little time to ensure that status has been updated
400- setTimeout ( function ( ) {
400+ setTimeout ( ( ) => {
401401 message . value = prompt ( 'Enter the name of the variable' )
402402 if ( message . insertBeforeLastCommand ) {
403403 record ( message . command , message . target , message . value , true )
You can’t perform that action at this time.
0 commit comments