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,