标签:key find ret input _id 网址 输入验证码 url 路径
1 #验证码 2 #读取验证码网址、打开本地路径、写入、输入验证码 3 downpicture = urllib.request.urlopen(SecretCodeUrl).read() 4 local = open(address, ‘wb‘) 5 local.write(downpicture) 6 local.close() 7 print(u"请从桌面寻找你的验证码") 8 print (u"请输入验证码:") 9 SecretCode = input() 10 driver.find_element_by_id(‘txtSecretCode‘).send_keys(SecretCode)
标签:key find ret input _id 网址 输入验证码 url 路径
原文地址:http://www.cnblogs.com/liuyunbuji/p/7895397.html