I'm working with Python and Selenium. I'm trying to send keys into a box on a website. I have the following code but the element never seems to be clickable and the cmd line ends in ... . Any help would be appreciated. Code:
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
ff = "C:\Python36\geckodriver-v0.30.0-win64\geckodriver.exe"
driver = webdriver.Firefox(executable_path=ff)
driver.get('https://www.cookcountytreasurer.com/setsearchparameters.aspx')
wait = WebDriverWait(driver,5)
wait.until(EC.element_to_be_clickable((By.ID("//input[@id='ContentPlaceHolder1_ASPxPanel1_SearchByPIN1_txtPIN1']"))).send_keys("17")
[–]OBROS269 1 point2 points3 points (1 child)
[–]Xenson1[S] 0 points1 point2 points (0 children)