Filters existing locator by options, currently `has` and `hasText`.
This package contains the no-browser flavor of Playwright.