Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Timeout Configuration

Name
Description
UnitsDefault Value
newSessionWaitTimeout

Timeout for new Session creation

How long should we wait before failing the driver initialization

Seconds
5
10 Minutes
newCommandTimeout
Timeout
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:


Code Block
languagejava
titleJava
dc.setCapability("newSessionWaitTimeout", 300);
dc.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 15);

...

Code Block
languageruby
titleRuby
desired_caps = {
        caps: {
            newSessionWaitTimeout: 300,
            newCommandTimeout: 15,
            browserName: 'safari'
        },
SEO Metadata
titleTimeout Capabilities

Use this page for help with Timeout Capabilities.