本文实例为大家分享了python实现京东秒杀的具体代码,供大家参考,具体内容如下
# _*_coding:utf-8_*_
from selenium import webdriver
import datetime
import time
driver = webdriver.Chrome(executable_path='chromedriver.exe')
def login(uname, pwd):
driver.get(http://www.jd.com)
driver.find_element_by_link_text(你好,请登录).click()
driver.