Timeout Configuration

Name
Description
UnitsDefault Value
newSessionWaitTimeout

Timeout for new Session creation

How long should we wait before failing the driver initialization

Seconds10 Minutes
newCommandTimeout
The timeout of a command, before the server, closes the session (seconds)Seconds30 Seconds
endSessionWaitTimeout

The timeout of ending appium session (driver.quit())

Reports are uploaded to reporter during ending appium session.

Seconds5 Minutes

Examples:


dc.setCapability("newSessionWaitTimeout", 300);
dc.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 15);
self.dc["newSessionWaitTimeout"] = 300
self.dc["newCommandTimeout"] = 15
dc.SetCapability("newSessionWaitTimeout", 300);
dc.SetCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 15);
desired_caps = {
        caps: {
            newSessionWaitTimeout: 300,
            newCommandTimeout: 15,
            browserName: 'safari'
        },

Use this page for help with Timeout Capabilities.