[!IMPORTANT]
Remove screenshot step when checking user goal by updating check_user_goal_complete and related scraping functions to support optional screenshots.
Behavior:
check_user_goal_complete in agent.py now refreshes the page without taking a screenshot.
scrape_website and scrape_web_unsafe in scraper.py updated to accept with_screenshot parameter.
Classes:
ScrapedPage in scraper.py now has private attributes _browser_state, _clean_up_func, and _scrape_exclude.
Types:
Introduced ScrapeExcludeFunc in scraper.py for type clarity.
Misc:
Updated scrape_exclude type in app.py to ScrapeExcludeFunc.
This description was created by for 8bd282b3c02212edbb4a046a8db6d2a5c440e9ce. It will automatically update as commits are pushed.