A
anujk20
@anujk20
The most effective method for figuring out where elements are on a web page is called XPath. The XML document's nodes can be searched for and chosen using this query language.
Because you will only be required to find XPath in Chrome browser when taking any company technical tests, I will advise you to practice finding it in the Chrome browser more and more. Select inspect.
Step 1: The HTML code for the "First name" element is now visible in the blue strip. To enable DOM searching in the panel, press Ctrl+F as shown in the screenshot below.
Step 2: Use the fundamental structure to write an XPath for any element. The following is the syntax for writing XPath:
XML path syntax chooses the element's path on a webpage.
Reputation
0
Profile views
1
Joined
Last Online