Skip to content

Instantly share code, notes, and snippets.

@thepycoach
Created May 11, 2022 19:24
Show Gist options
  • Save thepycoach/7b292ca13cc31a0141134c77549a359b to your computer and use it in GitHub Desktop.
Save thepycoach/7b292ca13cc31a0141134c77549a359b to your computer and use it in GitHub Desktop.
send_image_button = driver.find_element(by='xpath', value='//div[@data-testid="drawer-middle"]//span[@data-testid="send"]')
send_image_button.click()
time.sleep(5) # wait till the message is delivered
driver.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment