mops 3.4.2__tar.gz → 3.5.0__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.
Files changed (61) hide show
  1. {mops-3.4.2 → mops-3.5.0}/PKG-INFO +12 -14
  2. mops-3.5.0/mops/__init__.py +4 -0
  3. {mops-3.4.2 → mops-3.5.0}/mops/abstraction/driver_wrapper_abc.py +207 -110
  4. {mops-3.4.2 → mops-3.5.0}/mops/abstraction/element_abc.py +189 -186
  5. {mops-3.4.2 → mops-3.5.0}/mops/abstraction/mixin_abc.py +11 -12
  6. {mops-3.4.2 → mops-3.5.0}/mops/abstraction/page_abc.py +17 -18
  7. {mops-3.4.2 → mops-3.5.0}/mops/base/driver_wrapper.py +178 -58
  8. {mops-3.4.2 → mops-3.5.0}/mops/base/element.py +191 -152
  9. {mops-3.4.2 → mops-3.5.0}/mops/base/group.py +15 -16
  10. {mops-3.4.2 → mops-3.5.0}/mops/base/page.py +37 -30
  11. mops-3.5.0/mops/exceptions.py +102 -0
  12. {mops-3.4.2 → mops-3.5.0}/mops/js_scripts.py +14 -0
  13. {mops-3.4.2 → mops-3.5.0}/mops/keyboard_keys.py +8 -20
  14. {mops-3.4.2 → mops-3.5.0}/mops/mixins/driver_mixin.py +16 -14
  15. {mops-3.4.2 → mops-3.5.0}/mops/mixins/internal_mixin.py +17 -10
  16. {mops-3.4.2 → mops-3.5.0}/mops/mixins/native_context.py +30 -22
  17. {mops-3.4.2 → mops-3.5.0}/mops/mixins/objects/box.py +14 -12
  18. {mops-3.4.2 → mops-3.5.0}/mops/mixins/objects/driver.py +4 -5
  19. mops-3.5.0/mops/mixins/objects/location.py +9 -0
  20. {mops-3.4.2 → mops-3.5.0}/mops/mixins/objects/locator.py +11 -12
  21. {mops-3.4.2 → mops-3.5.0}/mops/mixins/objects/locator_type.py +1 -0
  22. {mops-3.4.2 → mops-3.5.0}/mops/mixins/objects/scrolls.py +2 -2
  23. mops-3.5.0/mops/mixins/objects/size.py +9 -0
  24. mops-3.5.0/mops/mixins/objects/visual_comaprison_mixin.py +35 -0
  25. {mops-3.4.2 → mops-3.5.0}/mops/playwright/play_driver.py +27 -45
  26. {mops-3.4.2 → mops-3.5.0}/mops/playwright/play_element.py +36 -39
  27. {mops-3.4.2 → mops-3.5.0}/mops/selenium/core/core_driver.py +34 -38
  28. {mops-3.4.2 → mops-3.5.0}/mops/selenium/core/core_element.py +70 -70
  29. {mops-3.4.2 → mops-3.5.0}/mops/selenium/driver/mobile_driver.py +35 -14
  30. {mops-3.4.2 → mops-3.5.0}/mops/selenium/driver/web_driver.py +12 -14
  31. {mops-3.4.2 → mops-3.5.0}/mops/selenium/elements/mobile_element.py +13 -14
  32. {mops-3.4.2 → mops-3.5.0}/mops/selenium/elements/web_element.py +6 -12
  33. {mops-3.4.2 → mops-3.5.0}/mops/selenium/pages/mobile_page.py +8 -10
  34. {mops-3.4.2 → mops-3.5.0}/mops/selenium/sel_utils.py +1 -2
  35. {mops-3.4.2 → mops-3.5.0}/mops/shared_utils.py +22 -12
  36. {mops-3.4.2 → mops-3.5.0}/mops/utils/decorators.py +38 -24
  37. {mops-3.4.2 → mops-3.5.0}/mops/utils/internal_utils.py +91 -46
  38. {mops-3.4.2 → mops-3.5.0}/mops/utils/logs.py +14 -18
  39. {mops-3.4.2 → mops-3.5.0}/mops/utils/previous_object_driver.py +15 -13
  40. {mops-3.4.2 → mops-3.5.0}/mops/utils/selector_synchronizer.py +47 -48
  41. {mops-3.4.2 → mops-3.5.0}/mops/visual_comparison.py +103 -88
  42. {mops-3.4.2 → mops-3.5.0}/mops.egg-info/PKG-INFO +12 -14
  43. mops-3.5.0/mops.egg-info/requires.txt +13 -0
  44. mops-3.5.0/pyproject.toml +137 -0
  45. mops-3.4.2/mops/__init__.py +0 -2
  46. mops-3.4.2/mops/exceptions.py +0 -140
  47. mops-3.4.2/mops/mixins/objects/location.py +0 -10
  48. mops-3.4.2/mops/mixins/objects/size.py +0 -10
  49. mops-3.4.2/mops/mixins/objects/visual_comaprison_mixin.py +0 -34
  50. mops-3.4.2/mops.egg-info/requires.txt +0 -19
  51. mops-3.4.2/pyproject.toml +0 -83
  52. {mops-3.4.2 → mops-3.5.0}/README.md +0 -0
  53. {mops-3.4.2 → mops-3.5.0}/mops/mixins/capabilities.py +0 -0
  54. {mops-3.4.2 → mops-3.5.0}/mops/mixins/objects/wait_result.py +0 -0
  55. {mops-3.4.2 → mops-3.5.0}/mops/playwright/play_page.py +0 -0
  56. {mops-3.4.2 → mops-3.5.0}/mops/selenium/core/core_page.py +0 -0
  57. {mops-3.4.2 → mops-3.5.0}/mops/selenium/pages/web_page.py +0 -0
  58. {mops-3.4.2 → mops-3.5.0}/mops.egg-info/SOURCES.txt +0 -0
  59. {mops-3.4.2 → mops-3.5.0}/mops.egg-info/dependency_links.txt +0 -0
  60. {mops-3.4.2 → mops-3.5.0}/mops.egg-info/top_level.txt +0 -0
  61. {mops-3.4.2 → mops-3.5.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: mops
3
- Version: 3.4.2
3
+ Version: 3.5.0
4
4
  Summary: Wrapper of Selenium, Appium and Playwright with single API
5
5
  Author-email: Podolian Vladimir <vladimir.podolyan64@gmail.com>
6
6
  License: MIT
@@ -11,27 +11,25 @@ Project-URL: Source, https://github.com/CustomEnv/mops
11
11
  Project-URL: Tracker, https://github.com/CustomEnv/mops/issues
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Programming Language :: Python :: 3.8
15
- Classifier: Programming Language :: Python :: 3.9
16
14
  Classifier: Programming Language :: Python :: 3.10
17
15
  Classifier: Programming Language :: Python :: 3.11
18
16
  Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
19
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
20
  Classifier: Topic :: Software Development :: Quality Assurance
21
21
  Classifier: Topic :: Software Development :: Testing :: Acceptance
22
- Requires-Python: >=3.8
22
+ Requires-Python: >=3.10
23
23
  Description-Content-Type: text/markdown
24
24
  Requires-Dist: Appium-Python-Client>=3.1.0
25
- Requires-Dist: playwright>=1.48.0
25
+ Requires-Dist: playwright>=1.58.0
26
26
  Requires-Dist: selenium>=4.12.0
27
- Requires-Dist: numpy>=2.0.1; python_version >= "3.11"
28
- Requires-Dist: numpy<2.0.0,>=1.24.2; python_version >= "3.8" and python_version <= "3.10"
29
- Requires-Dist: opencv-python>=4.10.0.84; python_version >= "3.11"
30
- Requires-Dist: opencv-python<4.10.0.84,>=4.5.5.64; python_version >= "3.8" and python_version <= "3.10"
31
- Requires-Dist: scikit-image>=0.24.0; python_version >= "3.11"
32
- Requires-Dist: scikit-image<0.24.0,>=0.20.0; python_version >= "3.8" and python_version <= "3.10"
33
- Requires-Dist: Pillow>=10.4.0; python_version >= "3.12"
34
- Requires-Dist: Pillow<10.4.0,>=9.4.0; python_version >= "3.8" and python_version <= "3.11"
27
+ Requires-Dist: numpy>=2.3.2; python_version >= "3.11"
28
+ Requires-Dist: numpy<2.3,>=2.0.1; python_version == "3.10"
29
+ Requires-Dist: opencv-python>=4.13.0
30
+ Requires-Dist: scikit-image>=0.26.0; python_version >= "3.11"
31
+ Requires-Dist: scikit-image<0.26,>=0.24.0; python_version == "3.10"
32
+ Requires-Dist: Pillow>=12.1.0
35
33
 
36
34
  <p align="center">
37
35
  <a href="https://mops.readthedocs.io"><img src="https://raw.githubusercontent.com/CustomEnv/mops/master/docs/source/_static/preview.png"></a>
@@ -0,0 +1,4 @@
1
+ """Wrapper of Selenium, Appium and Playwright with a single API."""
2
+
3
+ __version__ = '3.5.0'
4
+ __project_name__ = 'mops'