I have the following HTML page and I am using Selenium under python to extract some data from the page HTML
<div class="secondary-content-col col-xs-12">
<div class="row">
<div class="col-xs-12">
<h2 class="h4"><span>Uthyres av:</span> Test</h2>
</div>
</div>
</div>
I want to get the Test text from tag, I have tried
driver.find_elements_by_xpath("//*[contains(., 'Uthyres')]")
but it says element no found! any idea how can I solve it