what is the use of disableWindowAnimation?
Set device animation scale zero if the value is true. After session is complete, Appium restores the animation scale to it's original value.
Defaults to false
eg: capability.setCapability("disableWindowAnimation", true);