<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_capability(self, capability_name):

 """
 Return the desired capability value by desired capability name
 """

        try:
            capability = self._current_application().capabilities[capability_name]
        except Exception as e:
            raise e
        return capability