How can i select this combobox and click to select the options ?
When load that combobox again that always create a new id, so i can't use id.
HTML:
<input id="combobox-1168-inputEl" type="text"
class="x-form-field x-form-text x-trigger-noedit x-form-focus x-field-form-focus x-field-default-form-focus"
autocomplete="off" name="combobox-1168-inputEl"
readonly="readonly" tabindex="1"
aria-invalid="false" data-errorqtip=""
style="width: 100%; -webkit-user-select: text;">
I'm trying to use xpath looking for the class:
teste2 = browser.find_by_xpath("//input[contains(@class,'x-form-field.x-form-text..x-trigger-noedit.x-form-focus.x-field-form-focus.x-field-default-form-focus')]")
But it return:
In [122]: teste2
Out[122]: []
How can I do it ?