Bug 1448792 - [wdclient] Fix Element.clear() for unknown "url" property.
MozReview-Commit-ID: 8lvsj6vWYrw
--- a/testing/web-platform/tests/tools/webdriver/webdriver/client.py
+++ b/testing/web-platform/tests/tools/webdriver/webdriver/client.py
@@ -679,17 +679,17 @@ class Element(object):
self.send_element_command("POST", "click", {})
@command
def tap(self):
self.send_element_command("POST", "tap", {})
@command
def clear(self):
- self.send_element_command("POST", self.url("clear"), {})
+ self.send_element_command("POST", "clear", {})
@command
def send_keys(self, text):
return self.send_element_command("POST", "value", {"text": text})
@property
@command
def text(self):