dist/devtools.js
function checkIfPlaying(){
          runInPage(window.fetaSource.isPlayingStr(),
            function(result){
                if(!result){
                    setTimeout(checkIfPlaying,500);
                }else{
                    _window.msgFromDevtools("revertRun",{data: result});
                }
            },
            function(err){
              alert(errorMessage+"error playing script, line 96.");
            });
        }
function checkIfPlaying(){
          runInPage(window.fetaSource.isPlayingStr(),
            function(result){
                if(!result){
                    setTimeout(checkIfPlaying,500);
                }else{
                    _window.msgFromDevtools("revertRun",{data: result});
                }
            },
            function(err){
              alert(errorMessage+"error playing script, line 96.");
            });
        }
function checkIfPlaying ( ) { runInPage ( window . fetaSource . isPlayingStr ( ) , function ( result ) { if ( ! result ) { setTimeout ( checkIfPlaying , 500 ) ; } else { _window . msgFromDevtools ( "revertRun" , { data : result } ) ; } } , function ( err ) { alert ( errorMessage + "error playing script, line 96." ) ; } ) ; }
we check if the test is still running when it isn't running anymore we update the run test button
we check if the test is still running when it isn t running anymore we update the run test button