selenium - Need to click on Pause button on tapping on video while doing getting error -
need click on pause button on tapping on video while doing getting error.
error as: org.openqa.selenium.webdriverexception: unknown error: element not clickable @ point (25, 312). other element receive click.
xpath:
driver.findelement(by.xpath("//button[@class='togglepaused']/descendant::i[@class='fa fa-pause']")).click();
html code:
<button class="toggle-paused"> <i class="fa fa-pause"> ::before </i> </button>
Comments
Post a Comment