Generate an xPath from HTML-element

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

Generate an Xpath for a given [html element], assuming I want to get this [result]. Note, however, that the [result] must not be written in xpath. Consider that there can be several elements by Xpath. In this case, return all of them. For example, for this html <a _ngcontent-client-app-c261="" rel="nofollow noopener noreferrer" role="link" class="component--field-formatter link-accent ng-star-inserted" href="http://www.pinpointe.com" target="_blank" title="www.pinpointe.com" aria-label="www.pinpointe.com"> www.pinpointe.com <icon _ngcontent-client-app-c261="" size="custom" key="icon_new_tab" color="inherit" class="external-icon ng-star-inserted"><svg viewBox="0 0 24 24" class="custom inherit"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></svg></icon><!----><!----><!----></a> I want to get www.pinpointe.com and right xpath will be - //a[@class='component--field-formatter link-accent ng-star-inserted']/text() All output shall be in [TARGETLANGUAGE]. [PROMPT]

620
0
262
Share prompt

Similar Prompts

Web development

Struggling with HTML & CSS? I can help!

01/23/2023
Web development

Mastering JavaScript just got easier with me by your side!

01/23/2023
Web development

React giving you trouble? I can help you conquer it!

01/23/2023
Get product updates
Be the first to try new Tellit features