Forum Discussion
rraghvani
12 months agoChampion Level 3
For example,
var myVar = "m_img_Edit_5be1669f1f644960a895de91534a50f8"
var xpathStr = "//*[@id='" + myVar + "']";
var element = page.FindElement(xpathStr);
Related Content
- 5 years ago
Using ID,
will highlight the first row
For example,
var myVar = "m_img_Edit_5be1669f1f644960a895de91534a50f8"
var xpathStr = "//*[@id='" + myVar + "']";
var element = page.FindElement(xpathStr);