Q:

Get the text content of an html element using xpath

This is the html content
<p class="ref   Hover">
    <b class="Hover   Hover   Hover   Hover   Hover">Mfr Part#:</b>
    MC34063ADR2G<br>
   <b>Mounting Method:</b>&nbsp;
     Surface Mount<br>
   <b>Package Style:</b>&nbsp;
     SOIC-8<br>
  <b>Packaging:</b>&nbsp;
     REEL<br>
</p> 

Using below xpath I am able to get only "Mfr Part#:".
//div[@id='product-desc']/p[2]/b[1]/text()
//div[@id='product-desc']/p[2]/b[1]

But I want "Mfr Part#:MC34063ADR2G"

A:

Your MC34063ADR2G should be at 
//div[@id='product-desc']/p[2]/text()[2]

