touhidulshawan96

Project_007

Jun 11th, 2021 (edited)
137
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import time
  2. from selenium import webdriver
  3.  
  4. url = "https://reachchurch.cc/give?fbclid=IwAR3q2PDgEBo2gPD-VSdisqidgUQXFaXvG9GnsZywhr0bjvNU4QwJZww7jjM"
  5. driver = webdriver.Chrome("./chromedriver")
  6.  
  7. try:
  8.     driver.get(url)
  9.     time.sleep(2)
  10.     # find the desired element and insert value
  11.     driver.find_element_by_id("giftAmountInput").send_keys("20")
  12. except:
  13.     print("Something wrong!!")
  14.     driver.close()
  15.  
RAW Paste Data