Skip to content

Instantly share code, notes, and snippets.

@teal33t
Created February 29, 2020 21:19
Show Gist options
  • Save teal33t/4951940a06e7d31ede5b99cf773f1be8 to your computer and use it in GitHub Desktop.
Save teal33t/4951940a06e7d31ede5b99cf773f1be8 to your computer and use it in GitHub Desktop.
phone_input = driver.find_element_by_xpath('//*[@id="mobile-number"]') # find input by xpath
phone_input.send_keys(number) # send number
self.wait_between(MIN_RAND, MAX_RAND) # wait for random seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment