I am trying to rewrite the input value on a website but there already exists a value. I first want to clarify that value them insert my value.
This is what I tried:
driver.find_element_by_xpath("/html/body/div[1]/div[2]/div/div/div/div[2]/div/div/div/div/div[3]/div[1]/div/div[2]/input").clear()
time.sleep(2)
driver.find_element_by_xpath("/html/body/div[1]/div[2]/div/div/div/div[2]/div/div/div/div/div[3]/div[1]/div/div[2]/input").send_keys("1,000")
however, this only adds my value to the already existing value.
outcome: 267,0001,000