Chrome Inspect Tool

Inspect tools are used to locate the WebElement locator value in a webpage to perform required action on it.

Here we are going to discuss how to find a locator value for a WebElement using Chrome Inspect tool.


1. Open the required webpage http://www.dummypoint.com/seleniumtemplate.html and right click on webpage and then click on Inspect as shown in below image

Click Inspect

2. Click on the Inspect symbol which highlighted in below picture

inspect button

3. Now place the cursor on the WebElement to which we need to find the locator value such as id,className,tagName,name etc.

focus element

4. Now you can find the locator value of the respective WebElement under the “Elements” section.

get element data