How to get attribute from input tag in HTML into XPATH

Hi all,

I want to get an attibute from this tag HTML in XPATH , anybody please help me? thanks


be more specific… which one? there are 3 marked with 2 types of approach:
1. for input - WebUI.getText(TO)
2. for WebUI.getAttribute(TO, “@data-bind”) resp WebUI.getAttribute(TO, “@href”) for 2nd
to pass this define variable and use parametrization of TO to past it to xpath:

Hi, thank you… My point is to get Text from input,


in that case, use getText()