Introduction date: June 17, 2023
Introduction PR: https://github.com/mozilla/pdf.js/commit/7e3941da9d4647a706628cae02adb54966e80cc4 (/cc @calixteman)
Type: intermittent (sometimes it works, indicating a possible timing/waiting issue)
OS: Windows
Logs: http://54.193.163.58:8877/d67e98b920493b4/output.txt
Traceback:

```
Failures:
2) Interaction in issue15053.pdf must check that a button and text field with a border are hidden
  Message:
[31m    In firefox: Expected 'visible' to equal 'hidden'.[0m
  Stack:
        at <Jasmine>
        at C:\pdfjs\botio-files-pdfjs\private\d67e98b920493b4\test\integration\scripting_spec.js:1422:63
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async Promise.all (index 0)
        at async UserContext.<anonymous> (C:\pdfjs\botio-files-pdfjs\private\d67e98b920493b4\test\integration\scripting_spec.js:1394:7)
  Message:
[31m    In firefox: Expected 'visible' to equal 'hidden'.[0m
  Stack:
        at <Jasmine>
        at C:\pdfjs\botio-files-pdfjs\private\d67e98b920493b4\test\integration\scripting_spec.js:1428:63
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async Promise.all (index 0)
        at async UserContext.<anonymous> (C:\pdfjs\botio-files-pdfjs\private\d67e98b920493b4\test\integration\scripting_spec.js:1394:7)
```
pages.map(async ([browserName, page]) => {
          await page.waitForFunction(
            "window.PDFViewerApplication.scriptingReady === true"
          );
          await page.waitForFunction(`${getQuerySelector("47R")}.value !== ""`);
          let text = await page.$eval(getSelector("47R"), el => el.value);
          expect(text).withContext(`In ${browserName}`).toEqual("PageOpen 1");
          for (let run = 0; run < 5; run++) {
            for (const ref of ["18R", "19R", "20R", "21R", "47R", "50R"]) {
              await page.evaluate(selector => {
                const element = window.document.querySelector(selector);
                if (element) {
                  element.value = "";
                }
              }, getSelector(ref));
            }
            for (const [refOpen, refClose, pageNumOpen, pageNumClose] of [
              ["18R", "50R", 2, 1],
              ["21R", "19R", 3, 2],
              ["47R", "20R", 1, 3],
            ]) {
              text = await actAndWaitForInput(
                page,
                getSelector(refOpen),
                async () => {
                  await page.evaluate(selector => {
                    const element = window.document.querySelector(selector);
                    element.scrollIntoView();
                  }, getSelector(refOpen));
                },