{"ok":true,"site":{"host":"playwright-rust.dev","url":"https://playwright-rust.dev/v0.20.1/","type":"live","desc":"Rust language bindings for Microsoft Playwright. Cross-browser end-to-end testing for Rust, with the same API as Python, Java, and .NET.","tools":[{"name":"get_install","kind":"answer","impl":"imperative","description":"How to add playwright-rs to a Rust project: the Cargo.toml dependencies for the version this page documents.","annotations":{"readOnlyHint":true},"inputSchema":{"properties":{},"type":"object"},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/v0.20.1/","pages":["/v0.20.1/"]},{"name":"list_features","kind":"answer","impl":"imperative","description":"The playwright-rs features this page shows, each with the id get_snippet takes, its title, and a one-line summary.","annotations":{"readOnlyHint":true},"inputSchema":{"properties":{},"type":"object"},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/v0.20.1/","pages":["/v0.20.1/"]},{"name":"get_snippet","kind":"answer","impl":"imperative","description":"The Rust code sample one feature card shows (for a card with tabs, the tab it shows now), by an id list_features returns.","annotations":{"readOnlyHint":true},"inputSchema":{"properties":{"id":{"description":"A feature id, such as \"locators\".","type":"string"}},"required":["id"],"type":"object"},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/v0.20.1/","pages":["/v0.20.1/"]},{"name":"compare_with","kind":"act","impl":"imperative","description":"Show the same browser test in another Playwright language beside its Rust version, the way to port a test to playwright-rs. Switches the page's comparison to that language and returns both versions.","inputSchema":{"properties":{"language":{"enum":["Python","Java",".NET"],"type":"string"}},"required":["language"],"type":"object"},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/v0.20.1/","pages":["/v0.20.1/"]},{"name":"list_versions","kind":"answer","impl":"imperative","description":"The versions of this page that can be opened, as the version switcher lists them, and which one is open.","annotations":{"readOnlyHint":true},"inputSchema":{"properties":{},"type":"object"},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/v0.20.1/","pages":["/v0.20.1/"]},{"name":"open_version","kind":"act","impl":"imperative","description":"Open this page for another version of playwright-rs, as choosing it in the version switcher does. Takes a version list_versions returns, such as \"0.19.0\" or \"dev\". The page navigates away once it answers.","inputSchema":{"properties":{"version":{"type":"string"}},"required":["version"],"type":"object"},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/v0.20.1/","pages":["/v0.20.1/"]}],"category":"Developer Tools","apiSurface":"spec","toolCount":6}}