Appium命令-Screen Recording,Element

时间:2021-08-25 18:05:44   收藏:0   阅读:39

Start Screen Recording

self.driver.start_recording_screen()

Stop Screen Recording

self.driver.stop_recording_screen()

Find Element

在页面上搜索元素

el = self.driver.find_element_by_accessibility_id(‘SomeAccessibilityID‘)

Find Elements

 在页面上搜索一组元素

el = self.driver.find_elements_by_accessibility_id(‘SomeAccessibilityID‘)

 

原文:https://www.cnblogs.com/muxs/p/15185358.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!