Appium · Schema

FindElementRequest

Request to find an element using a locator strategy

AndroidCross-PlatformiOSMobile TestingOpen SourceOpenJS FoundationTest AutomationWebDriver

Properties

Name Type Description
using string The element locator strategy
value string The selector value for the locator strategy
View JSON Schema on GitHub

JSON Schema

appium-server-find-element-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/appium/refs/heads/main/json-schema/appium-server-find-element-request-schema.json",
  "title": "FindElementRequest",
  "description": "Request to find an element using a locator strategy",
  "type": "object",
  "required": [
    "using",
    "value"
  ],
  "properties": {
    "using": {
      "type": "string",
      "description": "The element locator strategy",
      "enum": [
        "accessibility id",
        "id",
        "xpath",
        "class name",
        "name",
        "css selector",
        "-android uiautomator",
        "-ios predicate string"
      ],
      "example": "accessibility id"
    },
    "value": {
      "type": "string",
      "description": "The selector value for the locator strategy",
      "example": "Login Button"
    }
  }
}