from selenium import webdriver
import time
from selenium.webdriver.support.wait import WebDriverWait
# 创建chrome对象
driver = webdriver.Chrome()
driver.get('https://cn.bing.com/')
# 设置停留等待时间
# time.sleep(4)
# 设置显式等待时间
wait = WebDriverWait(driver, 10)
driver.quit()