class Playwright::LocatorAssertions

def to_be_hidden(timeout: nil)

```
expect(locator).to_be_hidden()
locator = page.locator('.my-element')

from playwright.sync_api import expect
```python sync

**Usage**

Ensures that `Locator` either does not resolve to any DOM node, or resolves to a [non-visible](../actionability.md#visible) one.
def to_be_hidden(timeout: nil)
  wrap_impl(@impl.to_be_hidden(timeout: unwrap_impl(timeout)))
end