Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Return computed styles #203

Open
calebpeffer opened this issue May 29, 2024 · 1 comment
Open

[Feat] Return computed styles #203

calebpeffer opened this issue May 29, 2024 · 1 comment

Comments

@calebpeffer
Copy link
Contributor

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

@nickscamara
Copy link
Member

Marking as blocked for now as not needed immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants