Skip to content

Commit

Permalink
Remove "window" word from set device posture URI
Browse files Browse the repository at this point in the history
  • Loading branch information
JuhaVainio committed Feb 28, 2024
1 parent 578dc80 commit 3c3155e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/wptrunner/wptrunner/executors/executorwebdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3c3155e

Please sign in to comment.