webdriver
contexts(self)
说明:返回多个会话内容
使用:driver.contexts
current_context(self)
说明:返回单个会话的内容
使用:driver.current_context
context(self)
返回current_context(self)
使用方法:driver.context
find_element_by_ios_uiautomation(self,uia_string)
说明:通过uiautomation在iOS元素中查找uia_string
参数:uia_string :iOS uiautomation库元素名称为uia_string
使用:driver.find_element_by_ios_uiautomation('.elements()[1].cells()[2]')
find_elements_by_ios_uiautomation(self, uia_string)
说明:通过uiautomation在iOS多个重复元素uia_string中查找
参数:uia_string :iOS uiautomation库元素名称为uia_string
使用:driver.find_element_by_android_uiautomator('.elements()[1].cells()[2]')
find_element_by_android_uiautomator(self, uia_string)
说明:通过uiautomation在Android元素中查找uia_string
参数:uia_string :Android uiautomation库元素名称为uia_string
使用:driver.find_elements_by_android_uiautomator('.elements()[1].cells()[2]')
find_elements_by_android_uiautomator(self, uia_string)
说明:通过uiautomation在Android多个重复元素uia_string中查找
参数:uia_string :Android uiautomation库元素名称为uia_string
使用:driver.find_elements_by_android_uiautomator('.elements()[1].cells()[2]')
find_element_by_accessibility_id(self, id)
说明:可查找元素的ID
参数:id: 一个字符串对应一个递归元素的搜索使用
ID /名称,当地的辅助功能选项利用
使用:driver.find_element_by_accessibility_id()
find_elements_by_accessibility_id(self, id)
说明:可查找元素多个相同的ID
参数:id: 一个字符串对应一个递归元素的搜索使用
ID /名称,当地的辅助功能选项利用
使用:driver.find_element_by_accessibility_id()
scroll(self, origin_el, destinat