How to export a website's mobile view to PDF

In dev tools, set CSS media type to screen, to override print formatting in PDF exports and enable mobile view