Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/py/selenium/common/__init__.py
1864 views
1
# Licensed to the Software Freedom Conservancy (SFC) under one
2
# or more contributor license agreements. See the NOTICE file
3
# distributed with this work for additional information
4
# regarding copyright ownership. The SFC licenses this file
5
# to you under the Apache License, Version 2.0 (the
6
# "License"); you may not use this file except in compliance
7
# with the License. You may obtain a copy of the License at
8
#
9
# http://www.apache.org/licenses/LICENSE-2.0
10
#
11
# Unless required by applicable law or agreed to in writing,
12
# software distributed under the License is distributed on an
13
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
# KIND, either express or implied. See the License for the
15
# specific language governing permissions and limitations
16
# under the License.
17
18
from .exceptions import (
19
DetachedShadowRootException,
20
ElementClickInterceptedException,
21
ElementNotInteractableException,
22
ElementNotSelectableException,
23
ElementNotVisibleException,
24
ImeActivationFailedException,
25
ImeNotAvailableException,
26
InsecureCertificateException,
27
InvalidArgumentException,
28
InvalidCookieDomainException,
29
InvalidCoordinatesException,
30
InvalidElementStateException,
31
InvalidSelectorException,
32
InvalidSessionIdException,
33
InvalidSwitchToTargetException,
34
JavascriptException,
35
MoveTargetOutOfBoundsException,
36
NoAlertPresentException,
37
NoSuchAttributeException,
38
NoSuchCookieException,
39
NoSuchDriverException,
40
NoSuchElementException,
41
NoSuchFrameException,
42
NoSuchShadowRootException,
43
NoSuchWindowException,
44
ScreenshotException,
45
SessionNotCreatedException,
46
StaleElementReferenceException,
47
TimeoutException,
48
UnableToSetCookieException,
49
UnexpectedAlertPresentException,
50
UnexpectedTagNameException,
51
UnknownMethodException,
52
WebDriverException,
53
)
54
55
__all__ = [
56
"DetachedShadowRootException",
57
"ElementClickInterceptedException",
58
"ElementNotInteractableException",
59
"ElementNotSelectableException",
60
"ElementNotVisibleException",
61
"ImeActivationFailedException",
62
"ImeNotAvailableException",
63
"InsecureCertificateException",
64
"InvalidArgumentException",
65
"InvalidCookieDomainException",
66
"InvalidCoordinatesException",
67
"InvalidElementStateException",
68
"InvalidSelectorException",
69
"InvalidSessionIdException",
70
"InvalidSwitchToTargetException",
71
"JavascriptException",
72
"MoveTargetOutOfBoundsException",
73
"NoAlertPresentException",
74
"NoSuchAttributeException",
75
"NoSuchCookieException",
76
"NoSuchDriverException",
77
"NoSuchElementException",
78
"NoSuchFrameException",
79
"NoSuchShadowRootException",
80
"NoSuchWindowException",
81
"ScreenshotException",
82
"SessionNotCreatedException",
83
"StaleElementReferenceException",
84
"TimeoutException",
85
"UnableToSetCookieException",
86
"UnexpectedAlertPresentException",
87
"UnexpectedTagNameException",
88
"UnknownMethodException",
89
"WebDriverException",
90
]
91
92