Docs
API 1.39
Status
Lint codes

E005

more than one locator key without `candidates`

Error: more than one locator key without candidates.

A version with this finding cannot be published.

#Example

The contract fixture E005-two-locator-keys reports E005 at extract.price:

{
  "kaab": "1",
  "steps": [
    {
      "goto": "https://example.com/"
    }
  ],
  "extract": {
    "price": {
      "selector": ".price",
      "xpath": "//span",
      "type": "money"
    }
  }
}

Was this page helpful?