python以登陆美的邮箱为例
#coding=utf-8
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Chrome()
driver.get("https://mail.midea.com/coremail/")
driver.find_element_by_id("uid").send_keys ("这里输入账号")
driver.find_element_by_id("password").send_keys ("这里输入密码.")
driver.find_element_by_id("password").send_keys(Keys.ENTER)
print(driver.title)