fix
This commit is contained in:
@@ -62,11 +62,14 @@ function clickExportOnAllDocuments(allDocuments) {
|
||||
setTimeout(() => {
|
||||
doc.dispatchEvent(event);
|
||||
// Then get the context menu to click on "Export" after short delay
|
||||
setTimeout(() => {
|
||||
let exportButton = document.getElementById("exportPdfButton");
|
||||
exportButton.click();
|
||||
// Click out of context menu to allow other context menu to pop
|
||||
let outer = document.getElementById("fullScreenModalDismissibleArea");
|
||||
outer.click();
|
||||
}, 100);
|
||||
}, 500*i);
|
||||
i += 1;
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user