setAnimationsEnabled

Turns the system window, transition, and animator animations off or back on, so UI tests do not wait on, or race with, animations. Restore them when the suite finishes.

Parameters

enabled

Whether animations run at normal speed.