Advertisement
fooker

bomber

Mar 5th, 2023
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.59 KB | None | 0 0
  1. from selenium import webdriver
  2. from selenium.webdriver.common.by import By
  3. from selenium.webdriver.common.keys import Keys
  4. import time
  5. driver = webdriver.Chrome('chromedriver.exe')
  6. driver.get('https://web.whatsapp.com')
  7. time.sleep(60)
  8. print('Complete')
  9. print('Complete')
  10. print('Complete')
  11. print('Complete')
  12. chat = driver.find_element(By.XPATH, r'//*[@id="main"]/footer/div[1]/div/span[2]/div/div[2]/div[1]/div/div[1]')
  13. def send(text):
  14.     chat.click()
  15.     chat.send_keys(text)
  16.     chat.send_keys(Keys.ENTER)
  17.     time.sleep(0.01)
  18.  
  19. while (True):
  20.     send("GAYmers")
  21.  
  22. time.sleep(100)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement