Files
appium/docs/en/commands/example.md
2017-10-06 13:31:27 -07:00

2.8 KiB

Template

Brief description

Example Usage

// Java
MobileElement el = driver.findElementByAccessibilityId("SomeId");
el.click();

# Python
el = self.driver.find_element_by_accessibility_id('SomeId')
el.click();

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



// wd example
await driver.status();

# Ruby
# Ruby Code here

# PHP
// PHP Code here

// C#
// CSharp Code here

Description

An indepth description of what this command does

Support

Appium Server

Platform Driver Platform Versions Appium Version Driver Version
iOS XCUITest 1.2 to 9.3 1.7 to 1.9 1.1 to 9.9
UIAutomation 1.0 to 9.3 All All
Android UiAutomator2 8.0+ 1.6.0+ All
UiAutomator 4.2+ All All
Mac Mac ?+ 1.6.4+ All

Appium Clients

Language Support Documentation
Java All seleniumhq.github.io
Python All github.com
Javascript (WebdriverIO) None webdriver.io
Javascript (WD) None github.com
Ruby All github.com
PHP None github.com
C# None github.com

HTTP API Specifications

Endpoint

POST /wd/hub/session/:session_id/element/:element_id/click

URL Parameters

name description
session_id ID of the session
element_id ID of the element to blah blah blah

JSON Parameters

name type description
item Object Description of Item
item.1 String Item One description

Response

A generic release label (i.e. "2.0rc3") (string)

See Also