test-youtube.sikuli

(Download this script)
def setUp(self):
        App.open("Google Chrome")
        type("t", KEY_CMD)
        type("www.youtube.com/watch?v=FxDOlhysFcM" + Key.ENTER)

def testPlayButton(self):
        click()
        assert exists()
        click()
        assert exists()
        assert not exists()

def testMuteButton(self):
        click()
        assert exists()
        click()