Automation Happy Hour 11: YouTube

Back to automation! This week we take a look at one of the most popular and frequently-used apps: YouTube. YouTube allows users to watch videos from all over the Internet. In this episode we get a basic end-to-end video watching flow going.

Code samples for Automation Happy Hour are available at

This was one of my favorite Automation Happy Hours, probably because it was so straightforward. We decided to work on automating YouTube. This is a very popular app, and it's also developed by Google, so I was hoping that meant it would have lots of good automation hooks, like accessibility labels and ids. And Google didn't disappoint! Practically everything we needed was available as an ID, a content description (accessibility label), or via unique xpath if we wanted something more complicated (for example, parsing out the number of likes a video had).

Check out the video for the full story.