---
title: "Discussion on \"How to get XPath of HTML element?\" | Hashnode"
description: "Discussion on \"How to get XPath of HTML element?\". Follow the below steps to get XPath of HTML element.\nStep 1: Open browser, I am using Chrome\nStep 2: Go to https://www.google.com/ \nStep 3: Right-click on the element of which XPATH is needed. \n\nStep 4: Click on Inspect \n\nStep 5: Right click on HTML ..."
url: "https://hashnode.com/posts/how-to-get-xpath-of-html-element/60d3109f4e084d6e649c5839"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to get XPath of HTML element?](https://blog.ajaygalagali.me/how-to-get-xpath-of-html-element?utm_source=hashnode&utm_medium=feed)

Follow the below steps to get XPath of HTML element. Step 1: Open browser, I am using Chrome Step 2: Go to https://www.google.com/ Step 3: Right-click on the element of which XPATH is needed. Step 4: Click on Inspect Step 5: Right click on HTML ...

Jun 23, 2021 · 1 min read · blog.ajaygalagali.me  
Read the article

-   [#html](https://hashnode.com/tag/html)
-   [#programming](https://hashnode.com/tag/programming)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#browser](https://hashnode.com/tag/browser)

## Written by

[Ajay Galagali](https://hashnode.com/@ajaygalagali)

@ajaygalagali · Bengaluru, India

  
[View profile](https://hashnode.com/@ajaygalagali)

I Code. I Play. I Design

I am an undergraduate student, pursuing Information Science and Engineering. 🧠 Interested in mobile app development, web development, and graphic design. 👨‍💻 Learning Android app development ⚒ Working with Kotlin, MVVM architecture, Firebase, Retrofit and many APIs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
