I am trying to type into the input category using selenium on Python google chrome. I would like to send the keys 1234 to test the configuration, however, I am receiving errors. I believe I am missing something from the code... Sorry if this is super basic, I am still learning selenium... I tried using the @class already and received an error.
driver.find_element_by_xpath("//input[='']/parent::div").send_keys('1234')
I am getting this error:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[9]/div/div/div/div[1]/div/div/div/div/div[2]/div[1]/div[1]/div[1]/div/input"}
(Session info: chrome=88.0.4324.150)
I have concluded the html should represent value=1234, however, I still am struggling with the code.