angularjs - Assert the text present in a disable text box using selenium webdriver -
i have following text field , disabled. have text value 'city1'. need verify 'city1' displayed in text box. .getattribute('value') , .gettext not working.
<input type="text" autofocus="" disabled="disabled" ng-model="sitedetails.streetaddr" class="form-control ic-filterdropdown ng-pristine ng-valid">
you can try yourelement.getattribute("textcontent / innerhtml / innertext /value")
.. 1 of should work
Comments
Post a Comment