To generate a PDF with Playwright on a Firefox engine you cannot use page.pdf(): it is Chromium-only and raises on Firefox. Use one of two routes that do run on Firefox - a full-page screenshot ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results