'Clicks the button'

def click_button(self, name):

    btn_css = u'div#page-notification    button.action-{}'.format(name.lower())
    EmptyPromise((lambda : self.q(css=btn_css).visible), u'{}    button    is    visible'.format(name)).fulfill()
    press_the_notification_button(self, name)
