'Wait until Poster, Video Pre-Roll and main Video Player are Rendered Completely.'

@wait_for_js
def wait_for_video_bumper_render(self):

    self.wait_for_video_class()
    self.wait_for_element_presence(CSS_CLASS_NAMES['video_init'], 'Video    Player    Initialized')
    self.wait_for_element_presence(CSS_CLASS_NAMES['video_time'], 'Video    Player    Initialized')
    video_player_buttons = ['do_not_show_again', 'skip_bumper', 'volume']
    for button in video_player_buttons:
        self.wait_for_element_visibility(VIDEO_BUTTONS[button], '{}    button    is    visible'.format(button))
