10 lines
209 B
JavaScript
10 lines
209 B
JavaScript
function takeScreenshot() {
|
|
document.documentElement.classList.remove("reftest-wait");
|
|
}
|
|
|
|
function takeScreenshotDelayed(timeout) {
|
|
setTimeout(function() {
|
|
takeScreenshot();
|
|
}, timeout);
|
|
}
|