The following html tag:
<input id="input-value" title="Search" type="text" value="">
I want to change the value attribute from "" to "foo".
<input id="input-value" title="Search" type="text" value="foo">
I am trying this with send_keys()
with no success.
ele = browser.find_element_by_id("input-value")
ele.send_keys("foo")
ele.send_keys(Keys.RETURN)`