**My code** which takes me to the button and highlights it. driver.findElement (By.xpath("//button[contains(text(),'Save')]")).click(); **My HTML code** <button data-v-7405e096="" type="button" class="pull-right btn btn-primary">Save</button>