from time import sleep from selenium import webdriver br = webdriver.Chrome() url = "https://www.tmall.com" br.get(url) input = br.find_element_by_id("mq") input.send_keys("iphone") input.submit() print(br.page_source) sleep(3) br.close()
from time import sleep from selenium import webdriver br = webdriver.Chrome() url = "https://www.tmall.com" br.get(url) input = br.find_element_by_id("mq") input.send_keys("iphone") input.submit() print(br.page_source) sleep(3) br.close()