Bug 1099094 - Documentation added for session_id arguement in start_session method. r=dburns
authorAbhilash Panigrahi <abhilashpanigrahi@hotmail.com>
Mon, 05 Jan 2015 07:05:00 -0500
changeset 248081 d894b312beb2e98f4f20cd150e588d0e695b9871
parent 248080 8cde6c13407c1e62c84ec031b98c7b91804c8e06
child 248082 7ff735f32aac001514341b16d2275c72b16f320b
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdburns
bugs1099094
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1099094 - Documentation added for session_id arguement in start_session method. r=dburns
testing/marionette/client/marionette/marionette.py
--- a/testing/marionette/client/marionette/marionette.py
+++ b/testing/marionette/client/marionette/marionette.py
@@ -811,16 +811,18 @@ class Marionette(object):
     def start_session(self, desired_capabilities=None, session_id=None, timeout=60):
         """Create a new Marionette session.
 
         This method must be called before performing any other action.
 
         :param desired_capabilities: An optional dict of desired
             capabilities.  This is currently ignored.
         :param timeout: Timeout in seconds for the server to be ready.
+        :param session_id: unique identifier for the session. If no session id is
+            passed in then one will be generated by the marionette server.
 
         :returns: A dict of the capabilities offered."""
         self.wait_for_port(timeout=timeout)
         self.session = self._send_message('newSession', 'value', capabilities=desired_capabilities, session_id=session_id)
         self.b2g = 'b2g' in self.session
         return self.session
 
     @property