Mega Drive Login Python Selenium Automation Script

Mega Drive Login Python Selenium Automation Script

 

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

 

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: