DocsBrowsershotMiscellaneous-optionsSetting the CSS media type of the page
Setting the CSS media type of the page
You can emulate the media type, especially useful when you're generating pdf shots, because it will try to emulate the print version of the page by default.
Browsershot::url('https://example.com')
->emulateMedia('screen') // "screen", "print" (default) or null (passing null disables the emulation).
->savePdf($pathToPdf);