I used XML XPATH query
/html/body/div[1]/div/div[2]/div/div[1]/h1
and got this
<h1 class="fw-bold h2">The Page Title Here</h1>
My question is how do I get only “The Page Title Here” as value? Possible to tweak my XPATH query?
Thanks in advance
I used XML XPATH query
/html/body/div[1]/div/div[2]/div/div[1]/h1
and got this
<h1 class="fw-bold h2">The Page Title Here</h1>
My question is how do I get only “The Page Title Here” as value? Possible to tweak my XPATH query?
Thanks in advance
To answer my own question,
/html/body/div[1]/div/div[2]/div/div[1]/h1/text()
did the job