Skip to content
This repository was archived by the owner on Nov 29, 2025. It is now read-only.

Conversation

@niranjan94
Copy link

Follow up to #84

  • Introduce default_timeout in the browser initialization allowing dynamic timeout configuration via the BROWSER_DEFAULT_TIMEOUT environment variable.
  • Add an asynchronous context manager timeout to apply the default timeout across multiple browser operations.
  • Update browser tool functions to utilize the new timeout context.
  • Ensure default timeouts are applied for navigation, page actions, and observations, improving reliability in handling long-running browser tasks.

- Introduce `default_timeout` in the browser initialization allowing dynamic timeout configuration via the `BROWSER_DEFAULT_TIMEOUT` environment variable.
- Add an asynchronous context manager `timeout` to  apply the default timeout across multiple browser operations.
- Update browser tool functions to utilize the new `timeout` context.
- Ensure default timeouts are applied for navigation, page actions, and observations, improving reliability in handling long-running browser tasks.
@niranjan94
Copy link
Author

@westonbrown was not able to reproduce the freeze with this change. Once the config manager PR is merged, I can update the usages of os.getenv

@westonbrown westonbrown self-requested a review November 11, 2025 01:16
@westonbrown westonbrown added the enhancement New feature or request label Nov 11, 2025
@westonbrown westonbrown added this to the release 0.1.4 milestone Nov 11, 2025
@westonbrown
Copy link
Owner

@niranjan94 , perfect thanks for the addition! Merging now and will do more testing over the coming days.

@westonbrown westonbrown merged commit 074e3e7 into westonbrown:release-0.1.4 Nov 11, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants