---
title: "Generate an xPath from HTML-element"
category: Software Engineering
platforms: ["ChatGPT"]
tags: []
canonical_url: https://ai-nots.com/prompts/generate-an-xpath-from-html-element-2993
updated_at: 2026-11-20T20:54:09+00:00
---

# Generate an xPath from HTML-element

## Description

Get XPath expression from a web site's HTML content. 

## Prompt Template

```
Act as a professional AI assistant. [Write html and data] Structure the response clearly, include examples if needed, and ensure high-quality output.
```

## Source & Interactive Runner

Run, fork, or personalize this prompt at: https://ai-nots.com/prompts/generate-an-xpath-from-html-element-2993
