'Clicks the "View Live" link and switches to the new tab'

def view_live(self):

    click_css(self, '.view-live-button', require_notification=False)
    self.browser.switch_to_window(self.browser.window_handles[(-1)])
