def setUp(self): App.open("Google Chrome") type("t", KEY_CMD) type("www.youtube.com/watch?v=FxDOlhysFcM" + Key.ENTER) wait(, 20) def testPlayButton(self): click(
) assert exists(
) click(
) assert exists(
) assert not exists(
) def testMuteButton(self): click(
) assert exists(
) click(
)