I have to select elements which have dynamic "id" and "name" selectors, changing everytime the page is reloaded. I cant use css selectors either because the elements I am targeting share common selectors. The following is the html for the two elements that i would like to select:
<td colspan="60" width="60%" class="cell-right" valign="top">
<textarea onkeydown="event.cancelBubble=true;" onkeypress="event.cancelBubble=true;" onkeyup="event.cancelBubble=true;" name="1c2b0730969c468aa06b312d96f1513b" id="1c2b0730969c468aa06b312d96f1513b" class="auto-size-field" rows="5"></textarea>
</td>
and
<td colspan="60" width="60%" class="cell-right" valign="top">
<textarea onkeydown="event.cancelBubble=true;" onkeypress="event.cancelBubble=true;" onkeyup="event.cancelBubble=true;" name="6c5c8088fb474f2b93e1de9fb1b1771d" id="6c5c8088fb474f2b93e1de9fb1b1771d" class="auto-size-field" rows="5"></textarea>
</td>
Both the 'id' and 'name' selectors change dynamically everytime the page is reloaded. The xpaths are also changing on each reload as the contain references to the 'id' tags (ex. '//*[@id="6c5c8088fb474f2b93e1de9fb1b1771d"]'). And as you can see, these two elements share the same css selectors, which further complicates the matter...
The question at this point is how would I go about selecting them individually so I can interact with each text-area using send_keys()?