massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / selenium / selenium / webdriver / remote / errorhandler.pyi
1 from typing import Any
2
3 from selenium.common.exceptions import (
4     ElementClickInterceptedException as ElementClickInterceptedException,
5     ElementNotInteractableException as ElementNotInteractableException,
6     ElementNotSelectableException as ElementNotSelectableException,
7     ElementNotVisibleException as ElementNotVisibleException,
8     ErrorInResponseException as ErrorInResponseException,
9     ImeActivationFailedException as ImeActivationFailedException,
10     ImeNotAvailableException as ImeNotAvailableException,
11     InsecureCertificateException as InsecureCertificateException,
12     InvalidArgumentException as InvalidArgumentException,
13     InvalidCookieDomainException as InvalidCookieDomainException,
14     InvalidCoordinatesException as InvalidCoordinatesException,
15     InvalidElementStateException as InvalidElementStateException,
16     InvalidSelectorException as InvalidSelectorException,
17     InvalidSessionIdException as InvalidSessionIdException,
18     JavascriptException as JavascriptException,
19     MoveTargetOutOfBoundsException as MoveTargetOutOfBoundsException,
20     NoAlertPresentException as NoAlertPresentException,
21     NoSuchCookieException as NoSuchCookieException,
22     NoSuchElementException as NoSuchElementException,
23     NoSuchFrameException as NoSuchFrameException,
24     NoSuchWindowException as NoSuchWindowException,
25     ScreenshotException as ScreenshotException,
26     SessionNotCreatedException as SessionNotCreatedException,
27     StaleElementReferenceException as StaleElementReferenceException,
28     TimeoutException as TimeoutException,
29     UnableToSetCookieException as UnableToSetCookieException,
30     UnexpectedAlertPresentException as UnexpectedAlertPresentException,
31     UnknownMethodException as UnknownMethodException,
32     WebDriverException as WebDriverException,
33 )
34
35 class ErrorCode:
36     SUCCESS: int
37     NO_SUCH_ELEMENT: Any
38     NO_SUCH_FRAME: Any
39     UNKNOWN_COMMAND: Any
40     STALE_ELEMENT_REFERENCE: Any
41     ELEMENT_NOT_VISIBLE: Any
42     INVALID_ELEMENT_STATE: Any
43     UNKNOWN_ERROR: Any
44     ELEMENT_IS_NOT_SELECTABLE: Any
45     JAVASCRIPT_ERROR: Any
46     XPATH_LOOKUP_ERROR: Any
47     TIMEOUT: Any
48     NO_SUCH_WINDOW: Any
49     INVALID_COOKIE_DOMAIN: Any
50     UNABLE_TO_SET_COOKIE: Any
51     UNEXPECTED_ALERT_OPEN: Any
52     NO_ALERT_OPEN: Any
53     SCRIPT_TIMEOUT: Any
54     INVALID_ELEMENT_COORDINATES: Any
55     IME_NOT_AVAILABLE: Any
56     IME_ENGINE_ACTIVATION_FAILED: Any
57     INVALID_SELECTOR: Any
58     SESSION_NOT_CREATED: Any
59     MOVE_TARGET_OUT_OF_BOUNDS: Any
60     INVALID_XPATH_SELECTOR: Any
61     INVALID_XPATH_SELECTOR_RETURN_TYPER: Any
62     ELEMENT_NOT_INTERACTABLE: Any
63     INSECURE_CERTIFICATE: Any
64     INVALID_ARGUMENT: Any
65     INVALID_COORDINATES: Any
66     INVALID_SESSION_ID: Any
67     NO_SUCH_COOKIE: Any
68     UNABLE_TO_CAPTURE_SCREEN: Any
69     ELEMENT_CLICK_INTERCEPTED: Any
70     UNKNOWN_METHOD: Any
71     METHOD_NOT_ALLOWED: Any
72
73 class ErrorHandler:
74     def check_response(self, response) -> None: ...