The from the selenium import webdriver
The import time
B=webdriver. Firefox ()
B.g et (" https://email2.163.com/")
B.s witch_to. Frame ("/HTML/body/section/div/div/iframe ")
B. ind_element_by_name (" email "). Send_keys (" liqiaoyunn ")
B. ind_element_by_name (" password "). Send_keys (" liqiaoyun3721 ")
B. ind_element_by_id (" the dologin "). Click ()
Time. Sleep (5)
B.q uit ()