Skip to content

Is full page screenshot supported? #633

Answered by ifx-querido
ifx-querido asked this question in Q&A
Discussion options

You must be logged in to vote

I figured this out on my own.

  • In order to get a screenshot of the top part of a website, the format option should be specified as "screenshot".
  • In order to get a full page screenshot, the format option should be specified as "screenshot@fullPage".
  • Either way, to get the screenshot link, the print request must be always:
    print(page_content['screenshot'])
    And the link will direct you to the screenshot, which is of the entire page or just the top section, depending on what you put as a format option.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ifx-querido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant