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>  

enter image description here


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -