Verifying Youtube Video in Selenium IDE



  • We have a need to verify content on our site using Selenium IDE; specifically for this question Youtube video served up in an iframe:

    {}
    

    (origin xed out...)

    I have tried to use Selenium to click on the video - no result, and running through a list I knew a video was not available - it went right through it, so that doesn't work for verification. I settled down to a storeEval statement and attempted to do the getElementById javascript statement, but that really can't find the element that is loaded by the iframe.

    Anybody had to verify Youtube content?



  • In my browser, the YouTube iframe embeds a Flash player. Ordinarily, Selenium can't talk to embedded components, but this article talks about using the FlashSelenium component to talk to Flash.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2