Bug 979338 - Document delete_session method in the python client API, r=mdas

This commit is contained in:
James Graham 2014-03-04 17:42:11 +00:00
parent 07feaa6918
commit 98f6ece28e

View File

@ -732,6 +732,9 @@ class Marionette(object):
self._test_name = test_name
def delete_session(self):
"""
Close the current session and disconnect from the server.
"""
response = self._send_message('deleteSession', 'ok')
self.session = None
self.window = None