from config import keys
from selenium import webdriver
import time

def order(k):

    driver = webdriver.Chrome('./chromedriver')
	
    driver.get(k['url'])
    
	#send_keys recibe una string, escribe un un texfield
	#.click() hace click
	#find_element_by_xpath busca un elemento por xpath ... inspeccionar ... copiar ... xpath
	
    driver.find_element_by_xpath('//*[@id="email-email"]').send_keys(k['email'])
    driver.find_element_by_xpath('//*[@id="password-password"]').send_keys(k['pass'])
    driver.find_element_by_xpath('//*[@id="sumbitLogin"]').click()
    time.sleep(5) 
	
if __name__ == '__main__':
    order(keys)

bab48556ecfe955e146af715ca2230f6a993339a
<mask token>

<mask token>


def order(k):
    driver = webdriver.Chrome('./chromedriver')
    driver.get(k['url'])
    driver.find_element_by_xpath('//*[@id="email-email"]').send_keys(k['email']
        )
    driver.find_element_by_xpath('//*[@id="password-password"]').send_keys(k
        ['pass'])
    driver.find_element_by_xpath('//*[@id="sumbitLogin"]').click()
    time.sleep(5)


<mask token>

<mask token>


def order(k):
    driver = webdriver.Chrome('./chromedriver')
    driver.get(k['url'])
    driver.find_element_by_xpath('//*[@id="email-email"]').send_keys(k['email']
        )
    driver.find_element_by_xpath('//*[@id="password-password"]').send_keys(k
        ['pass'])
    driver.find_element_by_xpath('//*[@id="sumbitLogin"]').click()
    time.sleep(5)


if __name__ == '__main__':
    order(keys)

from config import keys
from selenium import webdriver
import time


def order(k):
    driver = webdriver.Chrome('./chromedriver')
    driver.get(k['url'])
    driver.find_element_by_xpath('//*[@id="email-email"]').send_keys(k['email']
        )
    driver.find_element_by_xpath('//*[@id="password-password"]').send_keys(k
        ['pass'])
    driver.find_element_by_xpath('//*[@id="sumbitLogin"]').click()
    time.sleep(5)


if __name__ == '__main__':
    order(keys)

from config import keys
from selenium import webdriver
import time

def order(k):

    driver = webdriver.Chrome('./chromedriver')
	
    driver.get(k['url'])
    
	#send_keys recibe una string, escribe un un texfield
	#.click() hace click
	#find_element_by_xpath busca un elemento por xpath ... inspeccionar ... copiar ... xpath
	
    driver.find_element_by_xpath('//*[@id="email-email"]').send_keys(k['email'])
    driver.find_element_by_xpath('//*[@id="password-password"]').send_keys(k['pass'])
    driver.find_element_by_xpath('//*[@id="sumbitLogin"]').click()
    time.sleep(5) 
	
if __name__ == '__main__':
    order(keys)
