# `Fluffy.FrameLocator`
[🔗](https://github.com/ftes/fluffy/blob/v0.8.0/lib/fluffy/frame_locator.ex#L1)

A lazy query identifying a frame to search inside with the Playwright driver.

Create one with `Fluffy.Locator.frame_locator/1`, `Fluffy.Locator.frame_locator/2`, or
`Fluffy.Locator.content_frame/1`. Pass it to the `Fluffy.Locator.by_*`
builders to obtain ordinary element locators inside that frame.

Frame scopes do not switch the active page. Actions and element assertions
accept the resulting element locators, not this scope itself.

# `t`

```elixir
@type t() :: %Fluffy.FrameLocator{owner: Fluffy.Locator.t()}
```

# `owner`

```elixir
@spec owner(t()) :: Fluffy.Locator.t()
```

Returns the locator for the iframe element in its containing document.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
