XPath Method- string-length() – Usage in Locating Element

Hello Guys, I am going to explain the usage of a method named string-length() from XPath 1.0. This method is very useful to write advanced and dynamic locators. XPath 1.0 provides an overloaded method named string-length():- string-length(string) - returns length of given string string-length() - returns the length of the string specified by the context … Continue reading XPath Method- string-length() – Usage in Locating Element