Remove unneeded.

This commit is contained in:
Cyteen May 2020-02-15 18:24:07 +00:00
parent ca5bfbaa60
commit 1de0c88f96
1 changed files with 0 additions and 51 deletions

View File

@ -1,51 +0,0 @@
#!/usr/bin/env bash
DRIVER_VER=2.46
cd /var/tmp
wget -c https://chromedriver.storage.googleapis.com/${DRIVER_VER}/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
pip3 install selenium
cat > protonMailGenerator.py <<EOF
from selenium import webdriver
import time
url = 'https://protonmail.com/'
driver = webdriver.Chrome('/var/tmp/chromedriver')
driver.get(url)
driver.find_element_by_xpath('//*[@title="Sign Up"]').click()
time.sleep(2)
driver.find_element_by_class_name('panel-heading').click()
time.sleep(4)
driver.find_element_by_id('freePlan').click()
time.sleep(2)
driver.find_element_by_id('username').send_keys('usernameForUser')
time.sleep(1.5)
driver.find_element_by_id('password').send_keys('passwordForUser')
time.sleep(2)
driver.find_element_by_id('passwordc').send_keys('passwordForUser')
time.sleep(2)
driver.find_element_by_class_name('signUpProcess-btn-create').click()
time.sleep(1)
driver.find_element_by_id('confirmModalBtn').click()
EOF
python3 protonMailGenerator.py