I am trying to access data from XPath for the below data. I wanted to get the Hostname - 192.81.xx.xx and ISP - Random
<div class="left">
<p class="information">
<span>Hostname</span>
<span>192.81.xx.xx</span>
</p>
<p class="information">
<span>ISP</span>
<span>Random</span>
</p>
</div>
Xpath I've Tried - //div[@class="left"]//p[@class="information"]//span[contains(text(), "Hostname:")]