Bug 1128515 updated session_capabilities property draft
authorJosh Grant <joshua.m.grant@gmail.com>
Mon, 09 Feb 2015 19:34:47 -0500
changeset 243043 b580724ccc80ed4abc3a5c55e0f142271d1d630e
parent 243042 09f4968d5f429e48e8d53a8a21408cb9674e996c
child 243044 6263d3ba90cd3bd40195caabd98f4e8c8757ecf6
push id696
push userjoshua.m.grant@gmail.com
push dateMon, 16 Feb 2015 15:36:51 +0000
bugs1128515
milestone38.0a1
Bug 1128515 updated session_capabilities property
testing/marionette/client/marionette/marionette.py
--- a/testing/marionette/client/marionette/marionette.py
+++ b/testing/marionette/client/marionette/marionette.py
@@ -902,21 +902,17 @@ class Marionette(object):
         self.session_id = None
         self.session = None
         self.window = None
         self.client.close()
         return response
 
     @property
     def session_capabilities(self):
-        '''
-        A JSON dictionary representing the capabilities of the current session.
-        '''
-        response = self._send_message('getSessionCapabilities', 'value')
-        return response
+        return self.session_capabilities
 
     def set_script_timeout(self, timeout):
         '''
         Sets the maximum number of ms that an asynchronous script is allowed to run.
 
         If a script does not return in the specified amount of time, a
         ScriptTimeoutException is raised.