当前位置:文档之家 > appium python api

appium python api

Finds an element by uiautomation in iOS.

通过iOS uiautomation查找元素

:Args:

- uia_string - The element name in the iOS UIAutomation li brary

:Usage:

driver.find_element_by_ios_uiautomation('.elements ()[1].cells()[2]')

用法dr.find_element_by_ios_uiautomation(…elements‟)

5. find_element_by_accessibility_id

find_element_by_accessibility_id(self, id):

Finds an element by accessibility id.

通过accessibility id查找元素

:Args:

-id- a string corresponding to a recursive element search using the

Id/Name that the native Accessibility options u
tilize

Id/Name that the native Accessibility options utilize

:Usage:

driver.find_element_by_accessibility_id()

用法driver.find_element_by_accessibility_id(…id‟)

6.scroll

scroll(self, origin_el, destination_el):

Scrolls from oneelementtoanother

从元素origin_el滚动至元素destination_el

:Args:

- originalEl - theelementfromwhichtobeingscrolling

- destinationEl - theelementtoscrollto

:Usage:

driver.scroll(el1, el2)

用法driver.scroll(el1,el2)

下载Word文档免费下载:

appium python api下载

(共24页)