Closed LawyZheng closed 1 month ago
Improved error handling and recovery during browser navigation in skyvern/webeye/browser_factory.py.
skyvern/webeye/browser_factory.py
Key points:
check_and_fix_state
exc_info=True
get_or_create_page
net::ERR
close_current_open_page
Generated with :heart: by ellipsis.dev
Summary:
Improved error handling and recovery during browser navigation in
skyvern/webeye/browser_factory.py
.Key points:
skyvern/webeye/browser_factory.py
to improve error handling during navigation.check_and_fix_state
to log navigation errors as warnings withexc_info=True
.get_or_create_page
to retry navigation if specific errors occur (net::ERR
).close_current_open_page
method to encapsulate logic for closing the current page and browser context.get_or_create_page
to useclose_current_open_page
for better code reuse and clarity.Generated with :heart: by ellipsis.dev