Is full page screenshot supported? #633
-
According to the welcome page of the V1 documentation , the fullpage screenshot is an existing option for the scrape function. Additionaly, @nickscamara just posted a new announcement about the V1, which includes the fullpage screenshot as an added feature. However, the Advanced Scraping Guide only lists ["markdown", "links", "html", "rawHtml", "screenshot"] as output formats. And when I try to run:
I get this error: Could someone please clarify this inconsistency? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I figured this out on my own.
|
Beta Was this translation helpful? Give feedback.
-
thank you! very helpful. Is this explained in depth in the documentation
somewhere? I didn’t understand from reading through the main docs
Find me on LinkedIn <http://www.linkedin.com/in/robert-nowell>, Github
<https://github.com/robertnowell>
…On Wed, Feb 19, 2025 at 10:33 PM Gergő Móricz ***@***.***> wrote:
what is the difference between format and actions with respect to
screenshot?
***@***.*** format always runs after all actions. With the
screenshot action, you can take multiple screenshots in between e.g.
clicking buttons. The results will be in actions.screenshots in the
response.
—
Reply to this email directly, view it on GitHub
<#633 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AET7YAB6Q34VYYVVRYXEU5T2QVZM7AVCNFSM6AAAAABNYIG3UCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMRVHA4DCMI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
I figured this out on my own.
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.