Appium Status Command

Go back to tutorial

Appium Status Command

Let us get a detailed overview about Appium Status Command with illustrations.

The Appium Status Command are primarily used to retrieve the server’s current status. Further, it returns information about whether a remote end is in a state to create new sessions. And, it can additionally include arbitrary meta information that is specific to the implementation.

Also, the readiness state is represented by the ready property of the body, which is false if an attempt to create a session at the current time would fail. However, the value true does not guarantee that a new Session command will succeed. In the same vein, implementations may optionally include additional meta information as part of the body, but the top-level properties ready and message are reserved and must not be overwritten.

Support

Appium Server

Platform Driver Platform Versions Appium Version Driver Version
iOS XCUITest 9.3+ 1.6.0+ All
UIAutomation 8.0 to 9.3 All All
Android Espresso ?+ 1.9.0+ All
UiAutomator2 ?+ 1.6.0+ All
UiAutomator 4.2+ All All
Mac Mac ?+ 1.6.4+ All
Windows Windows 10+ 1.6.0+ All

 

Appium Clients

Language Support Documentation
Java All
Python All selenium-python.readthedocs.io
Javascript (WebdriverIO) All
Javascript (WD) All github.com
Ruby All www.rubydoc.info
PHP All github.com
C# All github.com

Examples of Appium Status Command

Java – driver.getStatus()

Python – selenium.webdriver.common.utils.is_url_connectable(port)

Javascipt

// webdriver.io example
driver.status();

// wd example
await driver.status();

Ruby

# ruby_lib example
remote_status

# ruby_lib_core example
@driver.remote_status

C# – // TODO

PHP – // TODO

 

Boost your chances for better job opportunities. Practice and Prepare for Mobile Testing (Appium) Exam Now!

Go back to tutorial

Share this post
[social_warfare]
Appium Commands
Execute Mobile Command

Get industry recognized certification – Contact us

keyboard_arrow_up