Skip to content
\n

I get this error:
\nKeyError: 'screenshot@fullPage'

\n

Could someone please clarify this inconsistency?

","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"

I figured this out on my own.

\n","upvoteCount":1,"url":"https://github.com/mendableai/firecrawl/discussions/633#discussioncomment-10591388"}}}

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: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@robertnowell
Comment options

@mogery
Comment options

Answer selected by ifx-querido
Comment options

You must be logged in to vote
1 reply
@mogery
Comment options

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