Selinium change input value of placeholder

Hi i am trying to send input value using the sendkey command howeverit not changing.

copy div part:

<div class="SimpleAutocomplete_autocompleteContent AutocompleteOverrides_autocompleteContent SimpleAutocomplete_opened AutocompleteOverrides_opened"><div class="SimpleAutocomplete_selectedWords AutocompleteOverrides_selectedWords"><input placeholder="" required="" value=""></div></div>

i have tried:

text = WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//div[@class='SimpleAutocomplete_autocompleteContent AutocompleteOverrides_autocompleteContent']"))).sendkeys("aa")


text = driver.find_element_by_id("placeholder").send_keys("aa")

all failed

snippets of the screen :

enter image description here

enter image description here

Read more here:

Content Attribution

This content was originally published by Djinn at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: