Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Document Wikidata SPARQL browser script helper
Magnus Müller913f087b8a88
diff --git a/RUST_AGENT_INTEGRATION_FEATURES.md b/RUST_AGENT_INTEGRATION_FEATURES.mdindex 781f4407c..f77a50ac0 100644--- a/RUST_AGENT_INTEGRATION_FEATURES.md+++ b/RUST_AGENT_INTEGRATION_FEATURES.md@@ -376,6 +376,11 @@ Terminal core branch: `magnus/browser-use-rust-integration` at terminal main `14- 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`.+74. Browser-script Wikidata SPARQL helper+ - Terminal browser scripts now expose `wikidata_sparql(query, timeout=20.0, limit=None)`.+ - The helper runs Wikidata SPARQL queries, appends a limit when requested, normalizes result bindings, extracts QID/PID IDs and entity URLs from Wikidata entity URIs, and adds label-text convenience fields for `*Label` bindings.+ - Proof: `browser_script_wikidata_sparql_normalizes_entity_bindings`.+## 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`@@ -427,6 +432,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_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`+- `CARGO_INCREMENTAL=0 cargo test -q -p browser-use-browser browser_script_wikidata_sparql_normalizes_entity_bindings -- --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`