- 1 使用uiautomatorviewer地获取元素ID
路径:sdk oolsuiautomatorviewer.bat
- 2 脚本中增加点击事件
driver.find_element_by_id("com.alibaba.android.rimet:id/home_bottom_tab_button_work").click
路径:sdk oolsuiautomatorviewer.bat
driver.find_element_by_id("com.alibaba.android.rimet:id/home_bottom_tab_button_work").click