'Upload a Transcript
Arguments:
transcript_filename (str): name of transcript file'

def upload_transcript(self, transcript_filename):

    self.browser.execute_script("$('form.file-chooser').show()")
    asset_file_path = self.file_path(transcript_filename)
    attach_css = CLASS_SELECTORS['attach_transcript']
    self.wait_for_element_visibility(attach_css, "The    file    chooser's    input    field    is    visible.")
    self.q(css=attach_css).results[0].send_keys(asset_file_path)
    self._wait_for((lambda : (not self.q(css=attach_css).visible)), 'Upload    Completed')
