Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Document investor document discovery helper

Magnus Müller1caee4efca03
diff --git a/RUST_AGENT_INTEGRATION_FEATURES.md b/RUST_AGENT_INTEGRATION_FEATURES.md
index 00fe10cbd..f179214cf 100644
--- a/RUST_AGENT_INTEGRATION_FEATURES.md
+++ b/RUST_AGENT_INTEGRATION_FEATURES.md
@@ -286,6 +286,11 @@ Terminal core branch: `magnus/browser-use-rust-integration` at latest pulled mai
- The helper fetches or reads CSV, TSV, and simple HTML table sources, normalizes duplicate/missing headers, returns fields and records, and can use page-context `browser_fetch` for cookie-protected exports.
- Proof: `browser_script_tabular_data_records_normalizes_exports`.
+56. Browser-script investor document discovery helper
+ - Terminal browser scripts now expose `investor_documents_snapshot(limit=80, keywords=None, latest_only=False)`.
+ - The helper classifies visible investor/report/earnings document links into releases, supplements, presentations, transcripts, reports, and data annexes with dates, extensions, period tokens, keyword matches, context, scores, and direct URLs for `read_document_text`.
+ - Proof: `browser_script_investor_documents_snapshot_classifies_visible_links`.
+
## Current Verification
- `python3 -m py_compile browser_use/rust/service.py browser_use/rust/__init__.py browser_use/__init__.py tests/ci/test_rust_agent.py examples/rust_agent/basic.py examples/rust_agent/real_v8_smoke.py`
@@ -319,6 +324,7 @@ Terminal core branch: `magnus/browser-use-rust-integration` at latest pulled mai
- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_network_resources_snapshot_surfaces_api_candidates -- --nocapture`
- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_json_api_records_extracts_nested_record_arrays -- --nocapture`
- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_tabular_data_records_normalizes_exports -- --nocapture`
+- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_investor_documents_snapshot_classifies_visible_links -- --nocapture`
- Managed-headless end-to-end:
- `BROWSER_USE_TERMINAL_BINARY=/home/exedev/Developer/terminal/target/debug/browser-use-terminal BROWSER_USE_RUST_BROWSER_MODE=managed-headless BU_TASK='Open https://example.com and report the page title only.' BU_MAX_STEPS=12 timeout 300 uv run python examples/rust_agent/basic.py`
- Output: `Example Domain`