openatx / facebook-wda

Facebook WebDriverAgent Python Client Library (not official)
MIT License
1.72k stars 266 forks source link

add alert.wait and Selector partial text #16

Closed DoubleHYH closed 7 years ago

DoubleHYH commented 7 years ago

s.alert.wait(20) if alert exists in 20s it will return True, else return False

s(text = "VP", partial = True).exists if exists partial text like "VP" it will return True. for example: if "VPN" exists it will return True