firecrawl icon indicating copy to clipboard operation
firecrawl copied to clipboard

[Feat] Return computed styles

Open calebpeffer opened this issue 8 months ago • 1 comments

Problem Description In certain circumstances, it's useful to grab computed styles from a page. Currently, this is impossible via fire crawl

Proposed Feature

Firecrawl returns a computed styles object when a parameter is passed

Alternatives Considered Is there a way for us to pass through more p

Implementation Suggestions Playwright has a "getComputedStyle" method https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle. However, Idk if this would work without a traversal. There may be an easier way

Use Case This would be useful for situations where the computed styles matter. Such as web agents or A/B testing tools

Additional Context

When complete, notify GB via slack @calebpeffer

calebpeffer avatar May 29 '24 16:05 calebpeffer