Vibration Test
Type a pattern, press Vibrate and feel for it. The page can only tell you the browser accepted the pattern, and your hand decides whether the motor ran.
- Open this page on the phone you want to test and turn off silent or do-not-disturb mode.
- Press Short tap or Long buzz. Use the Vibrate button to send your own pattern.
- To write a pattern, list durations in milliseconds: the first number is a buzz, the second a pause, the third a buzz, and so on.
- If nothing happens, read the message under the buttons for the likely reason.
What the status line can and cannot say
| Status | You see | What it means |
|---|---|---|
| Healthy | Pattern accepted and you feel it | The Vibration API and the motor both work. |
| Check | Pattern accepted and you feel nothing | The call returned true, which means the browser took the pattern, not that the motor ran. Silent mode, battery saver or a system haptic setting can suppress it. |
| Fault | The page says the browser has no Vibration API | The page points to Chrome on an Android phone as a browser that provides it; support elsewhere differs (not verified per browser). |
| Fault | An input error appears | Values must be whole milliseconds, up to 10 numbers, 10000 ms each. |
Odd and even positions in the pattern
A pattern is a list of durations in milliseconds that alternate between buzzing and pausing, starting with a buzz. Entry 0 buzzes, entry 1 pauses, entry 2 buzzes, and so on. The page splits your text on spaces, commas and semicolons and rejects anything that is not a plain whole number.
The limits are in the code: at most 10 entries and 10000 ms per entry. The status line spells the pattern out and adds the total, so you can compare what you meant with what was sent.
The Stop button calls vibrate(0), which cancels a running pattern. A browser may also cut a very long pattern on its own (not verified per browser).
Intensity cannot be set through this API, only timing. A weak motor and a strong one run the same pattern, so the test says whether it works, not how good it feels.
- Touch Screen TestCheck the screen next on the same phone.