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

Tony BB
 

TonyBB is a Coach , marketer, hypnotist and a founder of RSKVF Production who specializes in providing simple, affordable, and easy to use solutions for Life.

Click Here to Leave a Comment Below 0 comments

Leave a Reply: