← WebMCP Directory

Tool tree

playwright-rust.dev

Developer ToolsTools verified
Website
Rust language bindings for Microsoft Playwright. Cross-browser end-to-end testing for Rust, with the same API as Python, Java, and .NET.
Explore capabilities
    get_installAnswer

    How to add playwright-rs to a Rust project: the Cargo.toml dependencies for the version this page documents.

    View tool JSON
    {
      "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.",
      "inputSchema": {
        "properties": {},
        "type": "object"
      },
      "page": "/v0.20.1/"
    }
    list_featuresAnswer

    The playwright-rs features this page shows, each with the id get_snippet takes, its title, and a one-line summary.

    View tool JSON
    {
      "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.",
      "inputSchema": {
        "properties": {},
        "type": "object"
      },
      "page": "/v0.20.1/"
    }
    get_snippetAnswer

    The Rust code sample one feature card shows (for a card with tabs, the tab it shows now), by an id list_features returns.

    View tool JSON
    {
      "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.",
      "inputSchema": {
        "properties": {
          "id": {
            "description": "A feature id, such as \"locators\".",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "page": "/v0.20.1/"
    }
    compare_withAction

    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.

    View tool JSON
    {
      "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"
      },
      "page": "/v0.20.1/"
    }
    list_versionsAnswer

    The versions of this page that can be opened, as the version switcher lists them, and which one is open.

    View tool JSON
    {
      "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.",
      "inputSchema": {
        "properties": {},
        "type": "object"
      },
      "page": "/v0.20.1/"
    }
    open_versionAction

    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.

    View tool JSON
    {
      "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"
      },
      "page": "/v0.20.1/"
    }