We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57f548c + b41bca7 commit 9b46404Copy full SHA for 9b46404
test/integration/scripting_spec.js
@@ -1793,13 +1793,7 @@ describe("Interaction", () => {
1793
it("must check if printing is triggered when the document is open", async () => {
1794
await Promise.all(
1795
pages.map(async ([browserName, page]) => {
1796
- await page.waitForFunction(
1797
- "window.PDFViewerApplication.scriptingReady === true"
1798
- );
1799
-
1800
1801
- `document.querySelector(".printedPage") !== null`
1802
+ await page.waitForSelector(".printedPage");
1803
await page.keyboard.press("Escape");
1804
})
1805
);
0 commit comments