I need to retreive phone number from the UI element which looks like this:
And here is the HTML-code of this element:
<label class="card__phone input">
<input class="input__text ng-pristine ng-untouched ng-valid ng-valid-mask ng-not-empty" ng-model="person.msisdn" ui-mask="+9 (999) 999-9999" disabled="" placeholder="+_ (___) ___-____" type="text">
</label>
As you can see, we do not have a phone number data in this element, just format. I've tried to find the number using .//*[contains(text(), '+7 (921) 222-3344')] XPATH search - no results.
Forntend engeneers use Angular JS to build current web-app.