From 3c3155e7f94133a995c40eb0f2615d2619c24a1a Mon Sep 17 00:00:00 2001 From: Juha Vainio Date: Wed, 28 Feb 2024 11:57:46 +0200 Subject: [PATCH] Remove "window" word from set device posture URI --- tools/wptrunner/wptrunner/executors/executorwebdriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wptrunner/wptrunner/executors/executorwebdriver.py b/tools/wptrunner/wptrunner/executors/executorwebdriver.py index a9e1b35efe2c5f..88d55e33a641d0 100644 --- a/tools/wptrunner/wptrunner/executors/executorwebdriver.py +++ b/tools/wptrunner/wptrunner/executors/executorwebdriver.py @@ -439,7 +439,7 @@ def setup(self): def set_device_posture(self, posture): body = {"posture": posture} self.logger.debug("JV666 tools/wptrunner/wptrunner/executors/executorwebdriver.py set_device_posture: %s" % posture) - return self.webdriver.send_session_command("POST", "window/deviceposture", body) + return self.webdriver.send_session_command("POST", "deviceposture", body) class WebDriverProtocol(Protocol): implements = [WebDriverBaseProtocolPart,