New answers tagged

0

You should use xpath. If your text 'IPS' is the text inside tag use this: //*[contains(.,'IPS')]. If 'IPS' is for example part of @class atrribute use this: //*[contains(@class,'IPS')]. If 'IPS' is always at the begginig of the text you can use starts-with command instead of contains. Unfortunately web browsers dont support Xpath 2.0 which provides ...


0

Use contains() or starts-with() function in xpah : Solution : With contains : //*[contains(@id,'IPS')] With starts-with : //*[starts-with(@id,'IPS')] Where * means any element. Let me know If any query.



Top 50 recent answers are included