How to enter numeric value in input field using Python Selenium?
问题 I've got a script writing values into a web page, and all values write except for one field that keeps throwing up the following error: (Screenshot provided b/c in other similar questions many comments said this is impossible to happen on a web page.) "Please enter a numeric value." Here's my code: workcenter_to_add = {} workcenter_to_add['BatchCycle'] = str(2.78) # driver = my_chrome_webpage WebDriverWait(driver, wait_time).until(EC.presence_of_element_located((By.XPATH, "//input[@id=