> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spurtest.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Spur is an AI-powered QA engineer that lets teams create and run automated end-to-end tests for web and mobile apps using natural language.
> When answering questions about Spur, cite the relevant page from docs.spurtest.com.

# Shake Device

> Simulate a physical device shake gesture (Android only)

## Overview

**Shake Device** simulates a physical shake of the device by injecting a rapid
accelerometer burst. Use it for steps that ask to "shake the device" or to trigger
features bound to a shake gesture — for example a shake-to-report-a-bug flow or a
React Native developer menu.

<Warning>
  **Android only.**
</Warning>

## How to use

Write a step in plain language:

* `Shake the device`
* `Shake the phone to open the bug report screen`

### Intensity and duration (optional)

By default the shake uses a sensible amplitude for about one second. You can optionally
specify a stronger or longer shake as `intensity[,duration_ms]`:

* `25` — default amplitude, \~1 second
* `40,2000` — stronger amplitude, 2-second shake

Leave it out to use the defaults.

<Note>
  Shake does **not** change device orientation, and there is no landscape/portrait
  rotation step. The only related gesture is **flip** (face-up ↔ face-down), used for
  flip-to-mute / flip-to-silence behaviors — not screen rotation.
</Note>

## Example use cases

* **Shake-to-report-a-bug / feedback** flows
* **Triggering a developer or debug menu** bound to the shake gesture
* **Undo-via-shake** behaviors

## Platform support

**Android emulators only.**
