-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi, thanks for the great project.
When I select the pdf format, it seems the selector option (and maybe more, but not 100%) is ignored.
electroshot http://localhost:3000/posters/1/preview 1920 --format jpg --selector "#viewer-container"
result:

But with the pdf format option:
electroshot http://localhost:3000/posters/1/preview 1920 --format pdf --selector "#viewer-container"
localhost-posters-1-preview-1920x0.pdf
As you can see, it's not cropped and sized to match the element as it appears on the page.
I'm going to try to simulate having the pdf format take up the whole page but I've yet to be successful, any ideas?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels