function takeScreenshotDelayed(timeout) {
    setTimeout(function() {
        takeScreenshot();
    }, timeout);
}
Call `takeScreenshot()` after a delay of at least |timeout| milliseconds.
@param {number} timeout - milliseconds