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

[Feature request] Add function get_element_html(bid) #308

Open
kripper opened this issue Jan 21, 2025 · 1 comment
Open

[Feature request] Add function get_element_html(bid) #308

kripper opened this issue Jan 21, 2025 · 1 comment

Comments

@kripper
Copy link

kripper commented Jan 21, 2025

Plase add a new function in functions.py to return the HTML of a element identified by its bid.

This is for All-Hands-AI/OpenHands#5727 (comment)

@kripper kripper changed the title Feature request: Add function get_element_html(bid) [Feature request] Add function get_element_html(bid) Jan 21, 2025
@gasse
Copy link
Collaborator

gasse commented Feb 5, 2025

Hi @kripper. You should be able to recover an element's HTML from its BID by post-processing the obs returned at every step. If you really need to have this as an action it can be done as well, we'd gladly add it to browsergym. The team doesn't have much bandwidth at the moment though and this is not a priority feature we'll be working on. I would encourage you to send us a pull request, community contributions are welcome :)

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

No branches or pull requests

2 participants