Automate web surfing using GPT-4o and playwright.Net
Note
This project is modified from the WebSurferAgent. With a few modifications to better follow the dotnet style. The original project is written in python and uses playwright-python. The tag_utils.js is copied from https://github.com/reworkd/tarsier, with little modification to return the list of interactive elements.
dotnet 8.*
- Clone the repository
- restore dotnet tool
dotnet tool restore
- build the project
dotnet build
- install required browser drivers using playwright.ps1
dotnet pwsh bin/Debug/net8.0/playwright.ps1 install
- run the project
dotnet run