<dd>
::before
<strong>Test Date:</strong>
"
7/6/20 - Monday"
::after
</dd>
Here is a sample snippet of HTML code.
I am looking to find the date that comes after the text "Test Date:". As there are multiple dates on the page, I need to pinpoint the specific one following the text "Test Date:". What would be the best way to create an XPath expression for this particular scenario? Alternatively, are there any other locators you would recommend using?