selenium小问题
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver import ActionChains
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
h = webdriver.Firefox()
#h.implicitly_wait(3)
h.get('https://www.google.com')
wait = WebDriverWait(h, 3, 0.2)
h1 = wait.until(EC.presence_of_element_located((By.ID, 'su')))
无论如何,都超过3秒了而不返回报错,不知道为什么,请指教