def check_register():
print("check register!")
print("==============================================")
try:
register = driver.find_element_by_id('com.systoon.iningde:id/tv_user_register')
except NoSuchElementException:
print("no register!")
else:
register.click()
print("click register!")
check_register()
网友评论