|
15 | 15 | # specific language governing permissions and limitations |
16 | 16 | # under the License. |
17 | 17 |
|
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) |
34 | 33 |
|
35 | 34 | try: |
36 | 35 | basestring |
|
0 commit comments