Need one more help on below to click() on Ask me later button.
<div align="center" class="mar-b0">
<button class="custom-green md-button md-ink-ripple no-margin md-button"
type="button" ng-transclude="" ng-click="vm.goHome();">
<span class="ng-binding ng-scope">Ask me later</span>
</button>
</div>
I have tried with below code -
new WebDriverWait(driver, 20)
.until(ExpectedConditions.elementToBeClickable(
By.xpath("//span[@class='ng-binding ng-scope' and contains(.,
'ASK ME LATER')]"))).click();