web-arena-x / webarena

Code repo for "WebArena: A Realistic Web Environment for Building Autonomous Agents"
https://webarena.dev
Apache License 2.0
708 stars 110 forks source link

Build a tree over the pages in the website #34

Closed Andrewzh112 closed 1 year ago

Andrewzh112 commented 1 year ago

Hi,

I wonder if the authors have any ideas or hint on how to quickly build a tree/graph over all the pages in the environment where the edges are the links that link the two pages.

Thanks, Andrew

shuyanzhou commented 1 year ago

Can you provide an example? I guess the way is to parse the HTML/Accessibility tree to extract the URLs and build the graphs on our own.

Andrewzh112 commented 1 year ago

will try, thanks for the headsup