src/page.js
function execWaitReadyFunctions() {
    if (isReady()) {
        logger.info('Page is ready. Executing ' + callbacksOnReady.length + ' functions that are waiting.');
        for (var i = 0; i < callbacksOnReady.length; i++) {
            var callback = callbacksOnReady[i];
            callback();
        }
    }
}
function execWaitReadyFunctions() {
    if (isReady()) {
        logger.info('Page is ready. Executing ' + callbacksOnReady.length + ' functions that are waiting.');
        for (var i = 0; i < callbacksOnReady.length; i++) {
            var callback = callbacksOnReady[i];
            callback();
        }
    }
}
function execWaitReadyFunctions ( ) { if ( isReady ( ) ) { logger . info ( 'Page is ready. Executing ' + callbacksOnReady . length + ' functions that are waiting.' ) ; for ( var i = 0 ; i < callbacksOnReady . length ; i ++ ) { var callback = callbacksOnReady [ i ] ; callback ( ) ; } } }
Execute all the functions that are waiting for the page to finish loading
Execute all the functions that are waiting for the page to finish loading