mops 3.3.0__tar.gz → 3.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mops-3.3.0 → mops-3.3.1}/PKG-INFO +1 -1
- {mops-3.3.0 → mops-3.3.1}/mops/__init__.py +1 -1
- {mops-3.3.0 → mops-3.3.1}/mops/utils/internal_utils.py +5 -8
- {mops-3.3.0 → mops-3.3.1}/mops.egg-info/PKG-INFO +1 -1
- {mops-3.3.0 → mops-3.3.1}/README.md +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/abstraction/driver_wrapper_abc.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/abstraction/element_abc.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/abstraction/mixin_abc.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/abstraction/page_abc.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/base/driver_wrapper.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/base/element.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/base/group.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/base/page.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/exceptions.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/js_scripts.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/keyboard_keys.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/capabilities.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/driver_mixin.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/internal_mixin.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/native_context.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/box.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/driver.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/location.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/locator.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/locator_type.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/scrolls.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/size.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/visual_comaprison_mixin.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/mixins/objects/wait_result.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/playwright/play_driver.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/playwright/play_element.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/playwright/play_page.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/core/core_driver.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/core/core_element.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/core/core_page.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/driver/mobile_driver.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/driver/web_driver.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/elements/mobile_element.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/elements/web_element.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/pages/mobile_page.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/pages/web_page.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/selenium/sel_utils.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/shared_utils.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/utils/decorators.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/utils/logs.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/utils/previous_object_driver.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/utils/selector_synchronizer.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops/visual_comparison.py +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops.egg-info/SOURCES.txt +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops.egg-info/dependency_links.txt +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops.egg-info/requires.txt +0 -0
- {mops-3.3.0 → mops-3.3.1}/mops.egg-info/top_level.txt +0 -0
- {mops-3.3.0 → mops-3.3.1}/pyproject.toml +0 -0
- {mops-3.3.0 → mops-3.3.1}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = '3.3.
|
|
1
|
+
__version__ = '3.3.1'
|
|
2
2
|
__project_name__ = 'mops'
|
|
@@ -6,10 +6,10 @@ from copy import copy
|
|
|
6
6
|
from functools import lru_cache
|
|
7
7
|
from typing import Any, Union, Callable
|
|
8
8
|
|
|
9
|
-
from
|
|
10
|
-
from selenium.common.exceptions import StaleElementReferenceException as SeleniumStaleElementReferenceException
|
|
9
|
+
from selenium.common.exceptions import WebDriverException as SeleniumWebDriverException
|
|
11
10
|
|
|
12
|
-
from mops.exceptions import
|
|
11
|
+
from mops.exceptions import DriverWrapperException as MopsDriverWrapperException
|
|
12
|
+
from mops.mixins.objects.size import Size
|
|
13
13
|
|
|
14
14
|
WAIT_METHODS_DELAY = 0.1
|
|
15
15
|
WAIT_UNIT = 1
|
|
@@ -38,11 +38,8 @@ def safe_call(func: Callable, *args, **kwargs) -> Union[Any, None]:
|
|
|
38
38
|
:return: None or function return
|
|
39
39
|
"""
|
|
40
40
|
exceptions = (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
TimeoutException,
|
|
44
|
-
NoSuchParentException,
|
|
45
|
-
SeleniumStaleElementReferenceException,
|
|
41
|
+
MopsDriverWrapperException,
|
|
42
|
+
SeleniumWebDriverException,
|
|
46
43
|
)
|
|
47
44
|
|
|
48
45
|
try:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|