in Selenium by
What is meant by X Path in selenium?

1 Answer

0 votes
by

X Path is used to locate a web element based on its XML path. XML stands for Extensible Markup Language and is used to store, organize and transport arbitrary data. It stores data in a key-value pair which is very much similar to HTML tags. The fundamental behind locating elements using X Path is the traversing between various elements across the entire page and thus enabling a user to find an element with the reference of another element. Both being markup languages and since they fall under the same umbrella, X Path can be used to locate HTML elements.

...