Closed dadamssg closed 9 months ago
I'm trying to generate a PDF but i've got some weird styling going on when the the print media type is triggered. With puppeteer, i can do page.emulateMediaType('screen') to get around that. Is there an equivalent with this package?
page.emulateMediaType('screen')
figured it out by looking at the code of both projects:
$page->getSession()->sendMessage(new Message('Emulation.setEmulatedMedia', ['media'=> 'screen']));
I'm trying to generate a PDF but i've got some weird styling going on when the the print media type is triggered. With puppeteer, i can do
page.emulateMediaType('screen')
to get around that. Is there an equivalent with this package?