Bug 1381347 - Use deprecated quitApplication command in Marionette client; r?whimboo
Firefox update tests will break if we do not use the
`quitApplication' command, since the `quit' command is not available
in Firefox 53.
MozReview-Commit-ID: KJoCPBh9NKh
--- a/testing/marionette/client/marionette_driver/marionette.py
+++ b/testing/marionette/client/marionette_driver/marionette.py
@@ -1054,17 +1054,17 @@ class Marionette(object):
if canceled:
raise errors.MarionetteException(
"Something cancelled the quit application request")
body = None
if len(flags) > 0:
body = {"flags": list(flags)}
- self._send_message("quit", body)
+ self._send_message("quitApplication", body)
@do_process_check
def quit(self, clean=False, in_app=False, callback=None):
"""Terminate the currently running instance.
This command will delete the active marionette session. It also allows
manipulation of eg. the profile data while the application is not running.
To start the application again, :func:`start_session` has to be called.