5 ms·
I imagine this will be useful for taking screenshots of arbitrary elements via the headless mode. Anyway, why would it be harder to take screenshots in Windows
by aargh_aargh 9y ago
I imagine this will be useful for taking screenshots of arbitrary elements via the headless mode.
Anyway, why would it be harder to take screenshots in Windows? Have they restricted the Win32 API recently (I haven't kept tabs)?
- reustle 9y agoI think he is referring to how on windows you can only screenshot the entire screen. Not sure if that has changed in recent years.
- vetinari 9y agoYou can also screenshot the current window (Alt-PrtSc). Since Vista, there is also snipping tool, which allows the same things as Mac screenshoting.
- vic20forever 9y agoWin-Shift-S to select a rectangular area to capture
- konart 9y agoYou can totally screenshot anything anyway you like on windows. The only difference is that windows has separate utility for this instead of a shortkey
- booleanbetrayal 9y agothis is the only thing preventing CasperJS / PhantomCSS from supporting Puppeteer, I think. will be cool to see this go in.