Html – xpath to select text preceded by specific element
I've got the following html: <body> <h1 id = 'example'>text</h1> "My car is a " <abbr> <a href = 'exampleRef'> Ferrari </a> </abbr> "that goes 100 km/h" </body> I'm trying to extract the text 'My car is a Ferrari that…