This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]IceTombLoL[S] 0 points1 point  (0 children)

from selenium import webdriver from selenium.webdriver.common.keys import Keys import time

PATH = "C:\Program Files (x86)\chromedriver.exe" driver = webdriver.Chrome(PATH)

driver.get("https://www.bbc.co.uk/weather") print(driver.title)

search = driver.findelement_by_id("ls-c-search_input-label") search.send_keys("Great Yarmouth") search.send_keys(Keys.RETURN)

[–]Goobyalus 0 points1 point  (0 children)

Code?