Skip to content

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

Document Nobel Prize browser script helper

Magnus Müller33fa10729dab
diff --git a/RUST_AGENT_INTEGRATION_FEATURES.md b/RUST_AGENT_INTEGRATION_FEATURES.md
index 20b8a0313..781f4407c 100644
--- a/RUST_AGENT_INTEGRATION_FEATURES.md
+++ b/RUST_AGENT_INTEGRATION_FEATURES.md
@@ -371,6 +371,11 @@ Terminal core branch: `magnus/browser-use-rust-integration` at terminal main `14
- The helper calls OpenReview `notes/search` or `notes`, preserves note/forum/invitation/domain metadata, and unwraps nested `content.value` / `content.values` payloads into normal Python values for search, decision, review, and author-note tasks.
- Proof: `browser_script_openreview_notes_normalizes_content_values`.
+73. Browser-script Nobel Prize API helper
+ - Terminal browser scripts now expose `nobel_prize_api(endpoint="laureates", params=None, timeout=20.0, lang="en")`.
+ - The helper calls the official Nobel Prize API v2.1 for laureates or prizes, normalizes localized names, prize metadata, motivations, laureate fields, nested links, and official nobelprize.org URLs.
+ - Proof: `browser_script_nobel_prize_api_normalizes_official_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`
@@ -421,6 +426,7 @@ Terminal core branch: `magnus/browser-use-rust-integration` at terminal main `14
- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_extract_paginated_grid_rows_collects_pages -- --nocapture`
- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_semantic_scholar_helpers_normalize_paper_graphs -- --nocapture`
- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_openreview_notes_normalizes_content_values -- --nocapture`
+- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_nobel_prize_api_normalizes_official_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`