uiautomator2ServerInstallTimeout: – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> uiautomator2ServerInstallTimeout: ...

uiautomator2ServerInstallTimeout:




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.

capabilities.setCapability("uiautomator2ServerInstallTimeout", 90000); 

Like other capabilities, By default appium waits for 20000 ms. To make your script more stable you can use this capability.

Leave a Reply

Your email address will not be published. Required fields are marked *