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

An opaque, live handle to one page in a session.

Metadata resolves the latest state. Handles survive navigation, but a closed
page cannot be used again. Newly created pages have distinct identities.

# `opener`

```elixir
@spec opener(t()) :: t() | nil
```

Returns the opener's page handle, or nil if there is no opener or it has closed.

# `status`

```elixir
@spec status(t()) :: non_neg_integer() | nil
```

Returns the main-document response status, when known.

# `url`

```elixir
@spec url(t()) :: String.t() | nil
```

Returns the page's current URL.

# `query_value`

```elixir
@type query_value() :: String.t() | [String.t()]
```

# `t`

```elixir
@opaque t()
```

# `title_expectation`

```elixir
@type title_expectation() :: String.t() | Regex.t()
```

# `url_component`

```elixir
@type url_component() ::
  {:path, String.t()}
  | {:query, %{required(String.t()) =&gt; query_value()}}
  | {:query_mode, :exact | :subset}
  | {:fragment, String.t() | nil}
```

# `url_expectation`

```elixir
@type url_expectation() ::
  String.t() | Regex.t() | (URI.t() -&gt; boolean()) | [url_component()]
```

---

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