# selector

The `selector` option of an extract field.

A CSS selector. Inside an item of a list, `:scope` is the item itself.

Type: `string`

## Example

```json
{
  "rows": {
    "selector": "table.report tbody tr",
    "many": true,
    "fields": {
      "label": "td:nth-child(1)",
      "amount": {
        "selector": "td[data-col=amount]",
        "type": "money",
        "locale": "tr"
      }
    }
  }
}
```

From the contract fixture `login-2fa-checkpoint-report`, a program the test suite validates.
