Part 2: All about XPath: Different ways of writing XPath expression.
Hello Folks, In last post we have learnt basic concepts about XPath. In this post ,we will learn to write XPath expressions: Using attribute name and value: HTML elements might have attribute name and attribute values. Attributes give extra information about web element. Using those attributes in XPath, we can locate web element. Syntax: //tagname[@attribute_name=’attribute_value’]…
Read More “Part 2: All about XPath: Different ways of writing XPath expression.” »