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

4x4 Matrix in Python -

python - String indices must be integers and while issue -

python - PyInstaller UAC not working in onefile mode -