Skip to content

Commit 3cfe188

Browse files
Clean up imports in error handler
1 parent 4f5f80b commit 3cfe188

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

py/selenium/webdriver/remote/errorhandler.py

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,21 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
from selenium.common.exceptions import ElementNotSelectableException
19-
from selenium.common.exceptions import ElementNotVisibleException
20-
from selenium.common.exceptions import InvalidElementStateException
21-
from selenium.common.exceptions import InvalidSelectorException
22-
from selenium.common.exceptions import ImeNotAvailableException
23-
from selenium.common.exceptions import ImeActivationFailedException
24-
from selenium.common.exceptions import NoSuchElementException
25-
from selenium.common.exceptions import NoSuchFrameException
26-
from selenium.common.exceptions import NoSuchWindowException
27-
from selenium.common.exceptions import StaleElementReferenceException
28-
from selenium.common.exceptions import UnexpectedAlertPresentException
29-
from selenium.common.exceptions import NoAlertPresentException
30-
from selenium.common.exceptions import ErrorInResponseException
31-
from selenium.common.exceptions import TimeoutException
32-
from selenium.common.exceptions import WebDriverException
33-
from selenium.common.exceptions import MoveTargetOutOfBoundsException
18+
from selenium.common.exceptions import (ElementNotSelectableException,
19+
ElementNotVisibleException,
20+
ErrorInResponseException,
21+
InvalidElementStateException,
22+
InvalidSelectorException,
23+
ImeNotAvailableException,
24+
ImeActivationFailedException,
25+
MoveTargetOutOfBoundsException,
26+
NoSuchElementException,
27+
NoSuchFrameException,
28+
NoSuchWindowException,
29+
NoAlertPresentException,
30+
StaleElementReferenceException,
31+
TimeoutException,
32+
WebDriverException)
3433

3534
try:
3635
basestring

0 commit comments

Comments
 (0)