'Clicks the main action presented by the prompt (such as \'Delete\')'

def click_confirmation_prompt_primary_button(self):

    disable_animations(self)
    self.wait_for_confirmation_prompt()
    self.q(css='.prompt    button.action-primary').first.click()
    self.wait_for_element_invisibility('.prompt', 'wait    for    pop    up    to    disappear')
    self.wait_for_ajax()
