Skyvern-AI / skyvern

Automate browser-based workflows with LLMs and Computer Vision
https://www.skyvern.com
GNU Affero General Public License v3.0
10.78k stars 739 forks source link

wrap page evaluate with timeout #1133

Closed LawyZheng closed 3 weeks ago

LawyZheng commented 3 weeks ago

[!IMPORTANT] Wraps page evaluations with a timeout using SkyvernFrame.evaluate() and removes deprecated JavaScript-triggered handling.

  • Behavior:
    • Wraps page evaluations with a timeout using SkyvernFrame.evaluate() in agent.py, handler.py, scraper.py, and browser_factory.py.
    • Removes handling of javascript_triggered in agent.py and handler.py.
  • Functions:
    • Adds SkyvernFrame.evaluate() to handle timeouts for page evaluations.
    • Removes is_javascript_triggered() and related logic.
  • Misc:
    • Removes javascript_triggered attribute from ActionResult and related classes in responses.py.

This description was created by Ellipsis for ba3fc14759c7e2588447e19756164f361bbf9edc. It will automatically update as commits are pushed.