'Waits for the closed captions to be turned off completely.'

def wait_for_closed_captions_to_be_hidden(self):

    cc_rendered_selector = self.get_element_selector(CSS_CLASS_NAMES['closed_captions'])
    self.wait_for_element_invisibility(cc_rendered_selector, 'Closed    captions    hidden')
