<div id="temp_1333021214801">
<input type="text"/>
</div>
$browser.text_field(:xpath,".//*[@id='temp_1333018770709']/input").set("apple")
I am getting error "unable to locate element", because the ID changes dynamically.
Please help me to set the text in the text field.