# E002

`loop_until`/`scroll.until`/`paginate` without `max`/`max_pages`

**Error**: `loop_until`/`scroll.until`/`paginate` without `max`/`max_pages`.

A version with this finding cannot be published.

## Example

The contract fixture `E002-loop-until-without-max` reports `E002` at `steps[0].max`:

```json
{
  "kaab": "1",
  "steps": [
    {
      "loop_until": {
        "visible": ".done"
      },
      "do": [
        {
          "reload": true
        }
      ]
    }
  ]
}
```
