邮箱自动登录话不多说,直接上代码
from selenium import webdriver a=webdriver.Chrome() a.get('https://mail.sina.com.cn/?from=mail')#新浪邮箱登录页面的url a.find_element_by_class_name('username').send_keys('新浪邮箱号')#找到输入账号的位置并且输入账号 a.find_element_by_class_name('password').send_keys('邮箱密码')#找到输入密码的位置并且输入密码 a.find_element_by_class_name('loginBtn').click()#找到登录按钮的位置并且模拟点击动作
新浪邮箱自动登录
最新推荐文章于 2023-03-20 14:29:30 发布