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

Finds elements in the DOM. Returns null if no match was found. See find for a description of parameters and selectors.