```php
expect (
    string $selector
    [, int $idx = null ]
    [, bool $lowercase = false ]
) : mixed
```

Finds elements in the DOM.
Returns null if no match was found.
See [`find`](find.md) for a description of parameters and selectors.