pomcorn 0.9.0__py3-none-any.whl → 0.9.1__py3-none-any.whl
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.
Potentially problematic release.
This version of pomcorn might be problematic. Click here for more details.
pomcorn/element.py
CHANGED
|
@@ -172,13 +172,12 @@ class PomcornElement(Generic[locators.TLocator]):
|
|
|
172
172
|
counted.
|
|
173
173
|
|
|
174
174
|
"""
|
|
175
|
-
|
|
175
|
+
cmd_ctrl = Keys.COMMAND
|
|
176
|
+
if sys.platform.lower() == "darwin":
|
|
177
|
+
cmd_ctrl = Keys.CONTROL
|
|
176
178
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
else:
|
|
180
|
-
self.send_keys(Keys.CONTROL + "a")
|
|
181
|
-
self.send_keys(Keys.BACK_SPACE)
|
|
179
|
+
self.send_keys(cmd_ctrl + "a", only_visible=only_visible)
|
|
180
|
+
self.send_keys(Keys.BACK_SPACE, only_visible=only_visible)
|
|
182
181
|
|
|
183
182
|
def send_keys(self, keys: str, only_visible: bool = True):
|
|
184
183
|
"""Send keys to element.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: pomcorn
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.1
|
|
4
4
|
Summary: Base implementation of Page Object Model
|
|
5
|
-
Home-page: https://pypi.org/project/pomcorn/
|
|
6
5
|
License: MIT
|
|
7
6
|
Keywords: python,selenium,webdriver,autotests,page object model,page object pattern,page object,pom,parsing,browser
|
|
8
7
|
Author: Saritasa
|
|
@@ -22,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
22
21
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
22
|
Requires-Dist: selenium (>=4.12)
|
|
24
23
|
Project-URL: Documentation, http://pomcorn.rtfd.io/
|
|
24
|
+
Project-URL: Homepage, https://pypi.org/project/pomcorn/
|
|
25
25
|
Project-URL: Repository, https://github.com/saritasa-nest/pomcorn/
|
|
26
26
|
Description-Content-Type: text/markdown
|
|
27
27
|
|
|
@@ -2,7 +2,7 @@ pomcorn/__init__.py,sha256=gB9I-SXauMrhxQlvZmFgh_htHqUXjII6tvQmtJEU5Ks,318
|
|
|
2
2
|
pomcorn/component.py,sha256=t1GARAI0cW5ubfv1hurxpD_2KFyFxvfzxVADtwcRhiE,12161
|
|
3
3
|
pomcorn/descriptors/__init__.py,sha256=5q_d5GtcaFlIIyHdsUnE9UNbz3g40qJCHKNaWGvcC6s,72
|
|
4
4
|
pomcorn/descriptors/element.py,sha256=jSYxEUqKdAIEHf_zL9m6udyO4QDR22Ivm37BOa-tdKc,4486
|
|
5
|
-
pomcorn/element.py,sha256=
|
|
5
|
+
pomcorn/element.py,sha256=_4jxmhBB5g8ztwGQoaPvrv3p9lCJwYo7m59EXbmlpdc,12214
|
|
6
6
|
pomcorn/locators/__init__.py,sha256=eWAnv28EGwzF-NQTeB4jc-T3B3a0gMbBIiR4IbmTo1Q,760
|
|
7
7
|
pomcorn/locators/base_locators.py,sha256=j5PpHevQrhuRFUEd21ABZkCg1sJWY1BTXCmuzWTaOE0,9746
|
|
8
8
|
pomcorn/locators/xpath_locators.py,sha256=zcGNIk5HX36TTauCApgX0csdobWj8QFZ_td4-9qkTgU,7461
|
|
@@ -10,7 +10,7 @@ pomcorn/page.py,sha256=AJLXffI6GFP6XN3vhoGGrUknzvJZzP6GBP7BLaGumX0,5824
|
|
|
10
10
|
pomcorn/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
pomcorn/waits_conditions.py,sha256=E8sLfBvIV2EO91Mm5KyKXB5IGEB9gUWza3XPE4_aCQE,3528
|
|
12
12
|
pomcorn/web_view.py,sha256=qt3Gpr9BMtV0tLp5sLlleSEqweh2PphHXlT02awf9SE,13585
|
|
13
|
-
pomcorn-0.9.
|
|
14
|
-
pomcorn-0.9.
|
|
15
|
-
pomcorn-0.9.
|
|
16
|
-
pomcorn-0.9.
|
|
13
|
+
pomcorn-0.9.1.dist-info/LICENSE,sha256=1vmhQNp1dDH8ksJ199LuG4oKz5D4ZvNccPcFckiG2S4,1091
|
|
14
|
+
pomcorn-0.9.1.dist-info/METADATA,sha256=ZlE23C86mMcKiHV6GCsGrSrCpuvJ9QeWJczdfVfnkPM,5892
|
|
15
|
+
pomcorn-0.9.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
16
|
+
pomcorn-0.9.1.dist-info/RECORD,,
|
|
File without changes
|