'Scenario: returns True if the captions are visible, False is else'

def _verify_closed_caption_text(self, text):

    self.video.wait_for((lambda : (text in self.video.closed_captions_text)), u'Closed    captions    contain    "{}"    text'.format(text), timeout=5)
