Generation

generate functionSun, 09 Apr 2023

una funcion que hace entradas automaticas en iq option

from time import sleep from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome('C:/chromedriver.exe') driver.get("https://iqoption.com/es/") driver.find_element_by_xpath('//*[@id="modal-login-form"]/form/div[1]/input').send_keys('example@gmail.com') driver.find_element_by_xpath('//*[@id="modal-login-form"]/form/div[2]/input').send_keys('example') driver.find_element_by_xpath('//*[@id="modal-login-form"]/form/button').click() driver.find_element_by_xpath('//*[@id="modal-header-demo-account"]/div[2]/button').click() driver.find_element_by_xpath('//*[@id="main-header"]/nav/div[1]/div[2]

Questions about programming?Chat with your personal AI assistant