F
Firecrawl3w ago
Ray

Is there a way to set the "theme" when scraping?

I'm using the /scrape endpoint for "branding" and the "screenshot" formats. For these, Firecrawl seems to default to the "light" theme when browsing sites. However, I want the browser to be set to the "dark" theme. Is this possible?
4 Replies
Gaurav Chadha
Gaurav Chadha3w ago
Hi @Ray Currently there is no option to control the browser's color scheme preference (light vs. dark mode) when scraping.
Ray
RayOP3w ago
@Gaurav Chadha so does it always default to light mode? screenshotting Vercel website in light mode just feels so wrong
Gaurav Chadha
Gaurav Chadha3w ago
Yes, because the browser isn't configured to prefer dark mode, sites that respect prefers-color-scheme will default to light mode. You can add this as a feature request to GitHub issues.
Ray
RayOP3w ago
thanks!

Did you find this page helpful?