Timeout in milliseconds used to wait for an uiAutomator2 server to be installed. Defaults to 20000.
Most of the appium process has some default time to complete the task. If not completed Appium terminates that task and moves on. But there are some tasks that require it to be done.
One of the required tasks is uiautomator2ServerInstall. To solve this we can set capability which will increase the timeout.
Like other capabilities, By default appium waits for 20000 ms. To make your script more stable you can use this capability.