# `mix stampede.record`
[🔗](https://github.com/mandar1045/stampede/blob/v1.4.0/lib/mix/tasks/stampede.record.ex#L1)

Starts your Phoenix app and records what you do in it, then writes it as a
scenario.

    $ mix stampede.record Checkout

Open the app in your browser, click through what a user would do, and press
Enter in the terminal when you're done. That writes `loadtest/checkout.exs`,
with your clicks, forms, navigation and pauses, ready for
`mix stampede.run`.

Passwords and other fields that look sensitive are replaced with
`"CHANGE_ME"`. The [recording guide](recording.html) has what's recorded and
what isn't.

## Options

  * `--force` - overwrites the file without asking

---

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