Mega Drive Login Python Selenium Automation Script
Mega Drive Login Python Selenium Automation Script
import os from selenium import webdriver os.environ['PATH'] += r"C:/SeleniumDrivers" c = webdriver.ChromeOptions() c.add_argument("--incognito") driver = webdriver.Chrome(options=c) driver.get("https://mega.io/login") driver.implicitly_wait(18) # my_element = driver.find_element_by_id() # my_element.click() my_second_element = driver.find_element_by_id("login-name2") my_second_element.send_keys("[email protected]") my_third_element = driver.find_element_by_id("login-password2") # my_third_element.send_keys("password1") my_third_element.send_keys("password2") #my_button_element = driver.find_element_by_class_name("mega-button positive login-button large right") my_button_element = driver.find_element_by_class_name("login-button") my_button_element.click()
Mega Drive Login Python Selenium Automation Script