Skip to content

I need screenshot in binary buffer, Not to save locally #2647

Answered by mdmintz
suredarv06 asked this question in Q&A
Discussion options

You must be logged in to vote

After you find an element, you can use:

element.screenshot_as_base64
element.screenshot_as_png

Use "body" for the selector when finding an element if you want a screenshot of the whole page.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@mdmintz
Comment options

@suredarv06
Comment options

@mdmintz
Comment options

@suredarv06
Comment options

@mdmintz
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants