How do you write an XPath?
XPath specifies the path of the element on the web page. The basic XPath format in Selenium is provided here.
XPath = /tagname[@Attribute=‘Value’] where
//: Select the current node tagname: The node’s tagname @: Attribute selection Attribute: The node’s name as an attribute Value: The attribute’s value.