appium 权限弹窗
启动app会出弹窗
for i in range(4):
logging.info('=========click 允许===========')
try:
if ('允许' in driver.page_source or '始终允许' in driver.page_source):
driver.switch_to.alert.accept()
except:
pass
posted on 2019-11-21 10:44 appiumphone 阅读(538) 评论(0) 编辑 收藏 举报