# `Volt.Test.Browser.Supervisor`
[🔗](https://github.com/elixir-volt/volt/blob/v0.23.0/lib/volt/test/browser/supervisor.ex#L1)

Supervises what a test run keeps for its browser tests: the Playwright
driver and `Volt.Test.Browser`, which launches browsers in it.

Starting the driver and launching a browser each cost more than running a
test, so both outlive the tests. The tree is started under `Volt.Supervisor`
on first use, with the `:playwright` options of the configuration that
started it, and goes away only with the VM.

# `connection`

```elixir
@spec connection() :: GenServer.name()
```

The Playwright connection the run's browsers belong to.

# `start`

```elixir
@spec start(Volt.Test.Config.t()) :: {:ok, pid()} | {:error, term()}
```

Start the tree, or find it already running.

The tree lives under `Volt.Supervisor`, so Volt's application is started
first: a project that depends on Volt with `runtime: false` has not started
it.

---

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