# `Playwright.Test.Project`
[🔗](https://github.com/ftes/playwright_ex/blob/v1.65.0-rc.4/lib/playwright/test/project.ex#L1)

A project of `Playwright.Test.parameters/1`, upstream's `projects: [{ name, use }]` entry: its
`name` and its `use` options, validated. It is the value of one private parameter, and
inspects as its `title/1`, so a failed test prints a short name, as upstream's reporters print
the project's: `Parameters: %{"playwright.project": #Playwright.Test.Project<"Mobile Safari">}`.
An unnamed project, as upstream's, has no title: it inspects as its options.

`Playwright.Test.info/0`'s `project` is one too, upstream's `testInfo.project`: there `use` is
upstream's `project.use`, the config's options with the project's over them, by `use/1`'s
names (`locale`, `base_url`, ...), `context_options` and `launch_options` as given.

# `t`

```elixir
@type t() :: %Playwright.Test.Project{name: String.t() | nil, use: map()}
```

`name` (`nil` when not given) and `use`: the options as `Playwright.Test` reads them, in
`Playwright.Test.info/0`'s by `use/1`'s names (`context_options` and `launch_options` as
given).

# `title`

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

The project's title: its `name`, upstream's `project.name`; `nil` for an unnamed project.

---

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