I am working on a project and building automation test suite for a webpage. A certain part of the webpage looks like this.
The corresponding HTML is as follows:
<p class="customer-service"> <b>Try us out for 14 days. If you aren't satisfied, we'll refund your money.</b> <br> Our customer service team is available Monday to Friday, <br> 8AM - 12AM (Midnight) EDT, via phone, email or live chat. </p>
I want to write an XPath for just the text "Our customer service team is available Monday to Friday,". In particular, I want to verify the text in my automation suite of the corresponding line. Is there any way to write an xpath using contains() or text()?
P.S. I tried the following xpath
and this was the result.