How to automate the integrated video play and pause ?


Anyone help me , how can i automate the integrated video play and pause in selenium webdriver?

Default Asked on August 19, 2014 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)
    Best answer

    Hi Ramya,

    Can you share the site with us?

    Basically players are implemented in wide range of ways. You can find players where play and pause is done using javascript functions and then you have players where every action is handled by the the player controls which are not exposed programatically.

    I would suggest you to find any of these
    – Javascript functions for play and stop.
    – mouse click on video screen can also play and pause videos
    If any of these options are present then you can either execute that JavaScript functio or do a mouse click at video screen area to pause and play the video.


    Professor Answered on August 19, 2014.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.