Have details the XPath for representing the web element on a web page.It stands for XML path.We can use fire bug to locate the element by $x(‘’).
Performance problem with Xpath
Few people consider path is bad , and its slow. And its an mind set of the people. We need to take a call based on the situation. Xpath is highly depend on the structure of the page and its take time to locate the web element on the page.It can easily break when structure of page changes. I personally recommend people to use // instead of /.
No comments:
Post a Comment