From 5a4b1ff65eb21c6e3dac65dfdcc35560bb13bf3a Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Tue, 1 Aug 2017 18:22:52 +0100 Subject: [PATCH] Bug 1381876 - Make client.Session#maximize a method. r=automatedtester The Maximize Window command is a POST endpoint and should consequently be a method, not a property. MozReview-Commit-ID: DJfKdhMIX75 --HG-- extra : rebase_source : 03409f3a30ac338704921801832d3210e8ef9236 --- testing/web-platform/tests/tools/webdriver/webdriver/client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/testing/web-platform/tests/tools/webdriver/webdriver/client.py b/testing/web-platform/tests/tools/webdriver/webdriver/client.py index 1f38661dda87..993d56a8cc5f 100644 --- a/testing/web-platform/tests/tools/webdriver/webdriver/client.py +++ b/testing/web-platform/tests/tools/webdriver/webdriver/client.py @@ -263,7 +263,6 @@ class Window(object): body = {"x": x, "y": y} self.session.send_session_command("POST", "window/rect", body) - @property @command def maximize(self): return self.session.send_session_command("POST", "window/maximize")