# <淘宝抢拍>
from selenium import webdriver
import datetime
import time
from selenium.webdriver.common.by import By
#打开火狐浏览器
web = webdriver.Firefox()
# 登录方式
def login():
# 打开淘宝登录页,并进行扫码登录
web.get("https://login.taobao.com/member/login.jhtml?spm=a21bo.jianhua.201864-2.d1.5af911d99mBdZ9&f=top&redirectURL=http%3A%2F%2Fwww.taobao.com%2F")
time.sleep(4) #给足够的载入网页的时间
# web.find_element(By.XPATH,'/html/body/div/div/div[1]/i').click()
# # web.maximize_window()
# t
1