Promium 3.4.1__tar.gz → 3.4.3__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 (58) hide show
  1. {Promium-3.4.1 → Promium-3.4.3}/PKG-INFO +1 -1
  2. {Promium-3.4.1 → Promium-3.4.3}/Promium.egg-info/PKG-INFO +1 -1
  3. {Promium-3.4.1 → Promium-3.4.3}/promium/base.py +2 -1
  4. {Promium-3.4.1 → Promium-3.4.3}/promium/device_config.py +8 -8
  5. {Promium-3.4.1 → Promium-3.4.3}/setup.py +1 -1
  6. {Promium-3.4.1 → Promium-3.4.3}/LICENSE +0 -0
  7. {Promium-3.4.1 → Promium-3.4.3}/Promium.egg-info/SOURCES.txt +0 -0
  8. {Promium-3.4.1 → Promium-3.4.3}/Promium.egg-info/dependency_links.txt +0 -0
  9. {Promium-3.4.1 → Promium-3.4.3}/Promium.egg-info/entry_points.txt +0 -0
  10. {Promium-3.4.1 → Promium-3.4.3}/Promium.egg-info/requires.txt +0 -0
  11. {Promium-3.4.1 → Promium-3.4.3}/Promium.egg-info/top_level.txt +0 -0
  12. {Promium-3.4.1 → Promium-3.4.3}/README.rst +0 -0
  13. {Promium-3.4.1 → Promium-3.4.3}/doc/__init__.py +0 -0
  14. {Promium-3.4.1 → Promium-3.4.3}/doc/conf.py +0 -0
  15. {Promium-3.4.1 → Promium-3.4.3}/promium/__init__.py +0 -0
  16. {Promium-3.4.1 → Promium-3.4.3}/promium/assertions.py +0 -0
  17. {Promium-3.4.1 → Promium-3.4.3}/promium/browsers.py +0 -0
  18. {Promium-3.4.1 → Promium-3.4.3}/promium/common.py +0 -0
  19. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/__init__.py +0 -0
  20. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/checkbox.py +0 -0
  21. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/drop_downs.py +0 -0
  22. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/frame.py +0 -0
  23. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/input_field.py +0 -0
  24. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/link.py +0 -0
  25. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/multiselect_listbox.py +0 -0
  26. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/radio_button.py +0 -0
  27. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/textarea_field.py +0 -0
  28. {Promium-3.4.1 → Promium-3.4.3}/promium/elements/upload_button.py +0 -0
  29. {Promium-3.4.1 → Promium-3.4.3}/promium/exceptions.py +0 -0
  30. {Promium-3.4.1 → Promium-3.4.3}/promium/expected_conditions.py +0 -0
  31. {Promium-3.4.1 → Promium-3.4.3}/promium/helpers.py +0 -0
  32. {Promium-3.4.1 → Promium-3.4.3}/promium/logger.py +0 -0
  33. {Promium-3.4.1 → Promium-3.4.3}/promium/plugin.py +0 -0
  34. {Promium-3.4.1 → Promium-3.4.3}/promium/support/__init__.py +0 -0
  35. {Promium-3.4.1 → Promium-3.4.3}/promium/support/settings.py +0 -0
  36. {Promium-3.4.1 → Promium-3.4.3}/promium/test_case.py +0 -0
  37. {Promium-3.4.1 → Promium-3.4.3}/promium/waits.py +0 -0
  38. {Promium-3.4.1 → Promium-3.4.3}/setup.cfg +0 -0
  39. {Promium-3.4.1 → Promium-3.4.3}/tests/__init__.py +0 -0
  40. {Promium-3.4.1 → Promium-3.4.3}/tests/config.py +0 -0
  41. {Promium-3.4.1 → Promium-3.4.3}/tests/conftest.py +0 -0
  42. {Promium-3.4.1 → Promium-3.4.3}/tests/pages/__init__.py +0 -0
  43. {Promium-3.4.1 → Promium-3.4.3}/tests/pages/catalog_404_page.py +0 -0
  44. {Promium-3.4.1 → Promium-3.4.3}/tests/pages/catalog_gallery_page.py +0 -0
  45. {Promium-3.4.1 → Promium-3.4.3}/tests/settings/__init__.py +0 -0
  46. {Promium-3.4.1 → Promium-3.4.3}/tests/settings/test_base.py +0 -0
  47. {Promium-3.4.1 → Promium-3.4.3}/tests/settings/test_chrome.py +0 -0
  48. {Promium-3.4.1 → Promium-3.4.3}/tests/settings/test_edge.py +0 -0
  49. {Promium-3.4.1 → Promium-3.4.3}/tests/settings/test_firefox.py +0 -0
  50. {Promium-3.4.1 → Promium-3.4.3}/tests/settings/test_ie.py +0 -0
  51. {Promium-3.4.1 → Promium-3.4.3}/tests/settings/test_opera.py +0 -0
  52. {Promium-3.4.1 → Promium-3.4.3}/tests/test_catalog_404.py +0 -0
  53. {Promium-3.4.1 → Promium-3.4.3}/tests/test_catalog_gallery.py +0 -0
  54. {Promium-3.4.1 → Promium-3.4.3}/tests/test_enviroment.py +0 -0
  55. {Promium-3.4.1 → Promium-3.4.3}/tests/test_requests.py +0 -0
  56. {Promium-3.4.1 → Promium-3.4.3}/tests/test_soft_asserts.py +0 -0
  57. {Promium-3.4.1 → Promium-3.4.3}/tests/test_waits.py +0 -0
  58. {Promium-3.4.1 → Promium-3.4.3}/tests/urls.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Promium
3
- Version: 3.4.1
3
+ Version: 3.4.3
4
4
  Summary: Selenium wrapper for testing Web UI
5
5
  Author: Denis Korytkin, Nataliia Guieva, Roman Zaporozhets, Vladimir Kritov, Oleh Dykusha
6
6
  Project-URL: Home page, https://none
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Promium
3
- Version: 3.4.1
3
+ Version: 3.4.3
4
4
  Summary: Selenium wrapper for testing Web UI
5
5
  Author: Denis Korytkin, Nataliia Guieva, Roman Zaporozhets, Vladimir Kritov, Oleh Dykusha
6
6
  Project-URL: Home page, https://none
@@ -114,9 +114,10 @@ def get_web_driver(driver): # TODO: delete
114
114
 
115
115
  class Page(object):
116
116
 
117
- def __init__(self, driver):
117
+ def __init__(self, driver, monkeypatch=None):
118
118
  self._driver = driver
119
119
  self.previous_window_handle = self.driver.current_window_handle
120
+ self.monkeypatch = monkeypatch
120
121
 
121
122
  url = None
122
123
 
@@ -3,19 +3,19 @@ from typing import NamedTuple
3
3
 
4
4
 
5
5
  DEFAULT_USER_AGENT_ANDROID = (
6
- "Mozilla/5.0 (Linux; Android 9; Redmi Note 7) "
6
+ "Mozilla/5.0 (Linux; Android 14; SM-G960U) "
7
7
  "AppleWebKit/537.36 (KHTML, like Gecko) "
8
- "Chrome/83.0.4103.106 Mobile Safari/537.36"
8
+ "Chrome/125.0.6422.53 Mobile Safari/537.36"
9
9
  )
10
10
  DEFAULT_USER_AGENT_IOS = (
11
- "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) "
11
+ "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) "
12
12
  "AppleWebKit/605.1.15 (KHTML, like Gecko) "
13
- "Version/13.0.3 Mobile/15E148 Safari/604.1"
13
+ "Version/17.4.1 Mobile/15E148 Safari/604.1"
14
14
  )
15
15
  DEFAULT_USER_AGENT_HUAWEI = (
16
- "Mozilla/5.0 (Linux; Android 8.1; EML-L29 Build/HUAWEIEML-L29; xx-xx) "
17
- "AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/65.0.3325.109 "
18
- "Mobile Safari/537.36"
16
+ "Mozilla/5.0 (Linux; Android 11; HUAWEI Mate 40 Pro Build/HUAWEIMate40Pro; "
17
+ "xx-xx) AppleWebKit/537.36 (KHTML, like Gecko) "
18
+ "Chrome/125.0.6422.53 Mobile Safari/537.36"
19
19
  )
20
20
 
21
21
 
@@ -46,7 +46,7 @@ ANDROID_360_640 = CustomDevice(360, 640, 3.0)
46
46
  ANDROID_1280_800 = CustomDevice(1280, 800, 3.0)
47
47
  XIAOMI_REDMI_7 = CustomDevice(393, 851)
48
48
 
49
- HUAWEI_P20 = CustomDevice(768, 850, 3.0, DEFAULT_USER_AGENT_HUAWEI)
49
+ HUAWEI_MATE_40_PRO = CustomDevice(768, 850, 3.0, DEFAULT_USER_AGENT_HUAWEI)
50
50
 
51
51
  IOS_750_1334 = CustomDevice(750, 1334, 2.0, DEFAULT_USER_AGENT_IOS)
52
52
  IOS_1080_1920 = CustomDevice(1080, 1920, 2.0, DEFAULT_USER_AGENT_IOS)
@@ -19,7 +19,7 @@ REQUIREMENTS = [
19
19
 
20
20
  setup(
21
21
  name='Promium',
22
- version='3.4.1',
22
+ version='3.4.3',
23
23
  install_requires=REQUIREMENTS,
24
24
  author='Denis Korytkin, Nataliia Guieva, '
25
25
  'Roman Zaporozhets, Vladimir Kritov, '
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