print("正在输入用户名密码")
browser.find_element_by_name("u").clear()
browser.find_element_by_name("u").send_keys("".join(random.sample('1234567890', 9)) + "@qq.com")
browser.find_element_by_name("p").clear()
browser.find_element_by_name("p").send_keys("".join(random.sample('1234567890abcdefghijklmnopqrstuvwxyz', random.randint(6, 22))))
browser.find_element_by_id("loginbtn").click()
sleep(2)
print("登录成功")
browser = webdriver.Chrome()
a = A
print("正在打开浏览器")
while True:
a.open(browser)
a.denglu(browser)