Pages

Friday, August 6, 2021

Sample Xpath code for TagUI

 / - child

// - child or grandchildren

//* - all types of elements

//input - element type is input

//button

//*[@title = "Search"] - attribute filter

//[@name = "results"]//*[@name = "title"] - XPath1//XPath2


(//XPath)[n] - point to the nth occurence

(//button)[3] - point to the 3rd button

No comments:

Post a Comment