mixu / electroshot

Capture website screenshots with optional device and network emulation as jpg, png or pdf (with web fonts!) using Electron / Chrome.
548 stars 34 forks source link

CSS usage? #3

Closed ColemanGariety closed 7 years ago

ColemanGariety commented 8 years ago

this command electroshot yahoo.com 1000x1000 --css="body { display: none !important; }"

seems not to work.

neither does this one:

electroshot yahoo.com 1000x1000 --js="document.querySelector('html').style.display = 'none'"

Am I missing something?

vogievetsky commented 7 years ago

I am seeing the same issue

mixu commented 7 years ago

fixed in v1.3.0