This commit is contained in:
array-in-a-matrix 2022-02-16 15:15:42 -05:00
parent 1238af715b
commit df1b61bf21

View file

@ -39,16 +39,15 @@ sleep(5)
print("started messaging...")
while True:
chat = 1 + randint(recent)
# * chat = 1 + randint(recent)
# * randomly messages one of the recent nth chats
browser.find_element(
By.XPATH, f"/html/body/div[1]/section/div/div[2]/div/div/div[1]/div[2]/div/div/div/div/div[{chat}]").click()
# * chat = 1 + randint(recent)
# * browser.find_element(
# * By.XPATH, f"/html/body/div[1]/section/div/div[2]/div/div/div[1]/div[2]/div/div/div/div/div[{chat}]").click()
# targets most recent nth chats
# ? targets most recent nth chat
# * browser.find_element(By.XPATH, "//*[contains(text(), 'CHAT NAME HERE')]").click()
# targets a specific chat
# * targets a specific chat
sleep(5)