Appium タイムアウトを延ばしたい
newCommandTimeout
ドライバを起動時の設定にnewCommandTimeoutを設定すればよい。
platforms = {} platforms['platformName'] = 'Android' platforms['platformVersion'] = ' 5.0.1' platforms['deviceName'] = 'Android Emulator' platforms['browserName'] = 'Chrome' platforms['automationName'] = 'UiAutomator2' # 単位 秒 platforms['newCommandTimeout'] = '120' driver = webdriver.Remote('http://localhost:4723/wd/hub', platforms)
newCommandTimeout 60秒を設定した場合
newCommandTimeout 120秒を設定した場合