Last active
December 14, 2021 20:41
-
-
Save stobias123/5e3fd1fede1e1aad9177d4ef94ec9efc to your computer and use it in GitHub Desktop.
vote on house.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## RUN THIS FIRST IN YOUR TERMINAL | |
## pip install selenium | |
import time | |
from selenium import webdriver | |
ntimes = YOUR_NUMBER_OF_VOTES | |
for x in range(ntimes): | |
spamsite='https://form.jotform.com/213464781110146' | |
driver = webdriver.Chrome() | |
driver.get(spamsite) | |
time.sleep(1) # Let the user actually see something! | |
house31 = driver.find_element_by_id('label_input_11_13') | |
house31.click() | |
button = driver.find_element_by_id('input_2') | |
button.click() | |
time.sleep(5) # Let the user actually see something! | |
driver.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment