Page tree
Skip to end of metadata
Go to start of metadata

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:


Java
dc.setCapability("newSessionWaitTimeout", 300);
dc.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 15);
Python
self.dc["newSessionWaitTimeout"] = 300
self.dc["newCommandTimeout"] = 15
C Sharp
dc.SetCapability("newSessionWaitTimeout", 300);
dc.SetCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 15);
Ruby
desired_caps = {
        caps: {
            newSessionWaitTimeout: 300,
            newCommandTimeout: 15,
            browserName: 'safari'
        },
  • No labels