From fb2066d22b47ff21916c4d3f74a24ea9f54ddfce Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Fri, 24 Nov 2017 16:31:17 +0000 Subject: [PATCH] Bug 1417821 - Add element click intercepted error to WPT WebDriver client. r=whimboo MozReview-Commit-ID: 1BFa4L7QW9d --HG-- extra : rebase_source : 5f97db90c176a452e910ac23ef00f534e23819ed --- .../web-platform/tests/tools/webdriver/webdriver/error.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testing/web-platform/tests/tools/webdriver/webdriver/error.py b/testing/web-platform/tests/tools/webdriver/webdriver/error.py index 6f8ce0ee8934..2fb748dc9b83 100644 --- a/testing/web-platform/tests/tools/webdriver/webdriver/error.py +++ b/testing/web-platform/tests/tools/webdriver/webdriver/error.py @@ -21,6 +21,11 @@ class WebDriverException(Exception): "%s" % (self.status_code, self.http_status, self.stacktrace)) +class ElementClickInterceptedException(WebDriverException): + http_status = 400 + status_code = "element click intercepted" + + class ElementNotSelectableException(WebDriverException): http_status = 400 status_code = "element not selectable"