'Clicks "View Live Version", which will open the published version of the unit page in the LMS.
Switches the browser to the newly opened LMS window.'

def view_published_version(self):

    self.q(css='.button-view').first.click()
    self._switch_to_lms()
