First find the tr
, that has p
tag with the appropriate text, and then go down to the desired input
:
//tr[.//p[contains(., "QA GM 05132014 1038 Item 1 Model Number")]]/td/input[@id="CountryAuthorizationYES0_0"]
Just note that there are certainly multiple ways to write the xpath here. Hope this one works for you.