This description was created by Ellipsis for commit df3f7125c46b8a15a627e673bdc1900652e5ceeb
Summary:
Introduced a timeout for the page.content() method by adding a get_page_content function with a timeout parameter and updating relevant methods to use it.
Key points:
Added PAGE_CONTENT_TIMEOUT constant (300 seconds) in skyvern/constants.py.
Created get_page_content function in skyvern/webeye/scraper/scraper.py with a timeout parameter.
Updated record_artifacts_after_action method in skyvern/forge/agent.py to use get_page_content.
Modified scrape_web_unsafe function in skyvern/webeye/scraper/scraper.py to use get_page_content with error handling.
Summary:
Introduced a timeout for the
page.content()
method by adding aget_page_content
function with a timeout parameter and updating relevant methods to use it.Key points:
PAGE_CONTENT_TIMEOUT
constant (300 seconds) inskyvern/constants.py
.get_page_content
function inskyvern/webeye/scraper/scraper.py
with a timeout parameter.record_artifacts_after_action
method inskyvern/forge/agent.py
to useget_page_content
.scrape_web_unsafe
function inskyvern/webeye/scraper/scraper.py
to useget_page_content
with error handling.Generated with :heart: by ellipsis.dev