register = driver.find_element_by_id('com.systoon.iningde:id/tv_user_register')
if register:
register.click()
print("click register!")
else:
print("no register!")
register = driver.find_element_by_id('com.systoon.iningde:id/tv_user_register')
if register:
register.click()
print("click register!")
else:
print("no register!")
本文标题:元素检测二
本文链接:https://www.haomeiwen.com/subject/ighcvctx.html
网友评论