seleniumbase 4.29.5__py3-none-any.whl → 4.29.6__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.
- seleniumbase/__version__.py +1 -1
- seleniumbase/core/browser_launcher.py +8 -8
- seleniumbase/fixtures/base_case.py +3 -3
- {seleniumbase-4.29.5.dist-info → seleniumbase-4.29.6.dist-info}/METADATA +1 -1
- {seleniumbase-4.29.5.dist-info → seleniumbase-4.29.6.dist-info}/RECORD +9 -9
- {seleniumbase-4.29.5.dist-info → seleniumbase-4.29.6.dist-info}/LICENSE +0 -0
- {seleniumbase-4.29.5.dist-info → seleniumbase-4.29.6.dist-info}/WHEEL +0 -0
- {seleniumbase-4.29.5.dist-info → seleniumbase-4.29.6.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.29.5.dist-info → seleniumbase-4.29.6.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.29.
|
2
|
+
__version__ = "4.29.6"
|
@@ -394,8 +394,8 @@ def uc_special_open_if_cf(
|
|
394
394
|
)
|
395
395
|
uc_metrics = {}
|
396
396
|
if (
|
397
|
-
isinstance(device_width,
|
398
|
-
and isinstance(device_height,
|
397
|
+
isinstance(device_width, int)
|
398
|
+
and isinstance(device_height, int)
|
399
399
|
and isinstance(device_pixel_ratio, (int, float))
|
400
400
|
):
|
401
401
|
uc_metrics["width"] = device_width
|
@@ -1519,8 +1519,8 @@ def _set_chrome_options(
|
|
1519
1519
|
emulator_settings = {}
|
1520
1520
|
device_metrics = {}
|
1521
1521
|
if (
|
1522
|
-
isinstance(device_width,
|
1523
|
-
and isinstance(device_height,
|
1522
|
+
isinstance(device_width, int)
|
1523
|
+
and isinstance(device_height, int)
|
1524
1524
|
and isinstance(device_pixel_ratio, (int, float))
|
1525
1525
|
):
|
1526
1526
|
device_metrics["width"] = device_width
|
@@ -3269,8 +3269,8 @@ def get_local_driver(
|
|
3269
3269
|
emulator_settings = {}
|
3270
3270
|
device_metrics = {}
|
3271
3271
|
if (
|
3272
|
-
isinstance(device_width,
|
3273
|
-
and isinstance(device_height,
|
3272
|
+
isinstance(device_width, int)
|
3273
|
+
and isinstance(device_height, int)
|
3274
3274
|
and isinstance(device_pixel_ratio, (int, float))
|
3275
3275
|
):
|
3276
3276
|
device_metrics["width"] = device_width
|
@@ -4496,8 +4496,8 @@ def get_local_driver(
|
|
4496
4496
|
if mobile_emulator:
|
4497
4497
|
uc_metrics = {}
|
4498
4498
|
if (
|
4499
|
-
isinstance(device_width,
|
4500
|
-
and isinstance(device_height,
|
4499
|
+
isinstance(device_width, int)
|
4500
|
+
and isinstance(device_height, int)
|
4501
4501
|
and isinstance(device_pixel_ratio, (int, float))
|
4502
4502
|
):
|
4503
4503
|
uc_metrics["width"] = device_width
|
@@ -14818,8 +14818,8 @@ class BaseCase(unittest.TestCase):
|
|
14818
14818
|
metrics_list = metrics_string.split(",")
|
14819
14819
|
exception_string = (
|
14820
14820
|
"Invalid input for Mobile Emulator device metrics!\n"
|
14821
|
-
"Expecting a comma-separated string with
|
14822
|
-
"
|
14821
|
+
"Expecting a comma-separated string with integer values\n"
|
14822
|
+
"for Width/Height, and an int or float for Pixel-Ratio.\n"
|
14823
14823
|
'Example: --metrics="411,731,3" '
|
14824
14824
|
)
|
14825
14825
|
if len(metrics_list) != 3:
|
@@ -14827,7 +14827,7 @@ class BaseCase(unittest.TestCase):
|
|
14827
14827
|
try:
|
14828
14828
|
self.__device_width = int(metrics_list[0])
|
14829
14829
|
self.__device_height = int(metrics_list[1])
|
14830
|
-
self.__device_pixel_ratio =
|
14830
|
+
self.__device_pixel_ratio = float(metrics_list[2])
|
14831
14831
|
self.mobile_emulator = True
|
14832
14832
|
except Exception:
|
14833
14833
|
raise Exception(exception_string)
|
@@ -5,7 +5,7 @@ sbase/steps.py,sha256=bKT_u5bJkKzYWEuAXi9NVVRYYxQRCM1_YJUrNFFRVPY,42865
|
|
5
5
|
seleniumbase/ReadMe.md,sha256=4nEdto4d0Ch0Zneg0yAC-RBBdqRqPUP0SCo-ze_XDPM,3612
|
6
6
|
seleniumbase/__init__.py,sha256=dgq30q6wGO2fJOVYemxC5hLxzv-of-MRn5P1YarBq5k,2263
|
7
7
|
seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
|
8
|
-
seleniumbase/__version__.py,sha256=
|
8
|
+
seleniumbase/__version__.py,sha256=KYeZiO-sAGmmSCwDATE4J4yKhQbYx8tdPr3tM_XnvVg,46
|
9
9
|
seleniumbase/behave/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
seleniumbase/behave/behave_helper.py,sha256=elkl8P9eLulRAioLstE9baYNM9N_PHBmAOcajX-pH_Y,24198
|
11
11
|
seleniumbase/behave/behave_sb.py,sha256=q4uYZixZBf7VYWnQnEk2weTcyMy1X1faR3vyYvUzDiA,56406
|
@@ -40,7 +40,7 @@ seleniumbase/console_scripts/sb_print.py,sha256=yo641b_OdSE0GUauOyxk-QrNeIjYzbRY
|
|
40
40
|
seleniumbase/console_scripts/sb_recorder.py,sha256=UQQhnAR18dbcC7ToDvj6TM2PIG5qBrNaekaM6kSK_E8,10970
|
41
41
|
seleniumbase/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
42
42
|
seleniumbase/core/application_manager.py,sha256=e_0sjtI8cjY5BNyZj1QBR0j6_oCScxGmSXYEpcYwuZE,576
|
43
|
-
seleniumbase/core/browser_launcher.py,sha256=
|
43
|
+
seleniumbase/core/browser_launcher.py,sha256=uTqCrzQYOF98xQX6ruqWnhpudf1MKRGnqUxG8x7jZC8,194089
|
44
44
|
seleniumbase/core/capabilities_parser.py,sha256=meIS2uHapTCq2ldfNAToC7r0cKmZDRXuYNKExM1GHDY,6038
|
45
45
|
seleniumbase/core/colored_traceback.py,sha256=DrRWfg7XEnKcgY59Xj7Jdk09H-XqHYBSUpB-DiZt6iY,2020
|
46
46
|
seleniumbase/core/create_db_tables.sql,sha256=VWPtrdiW_HQ6yETHjqTu-VIrTwvd8I8o1NfBeaVSHpU,972
|
@@ -70,7 +70,7 @@ seleniumbase/extensions/disable_csp.zip,sha256=YMifIIgEBiLrEFrS1sfW4Exh4br1V4oK1
|
|
70
70
|
seleniumbase/extensions/recorder.zip,sha256=OOyzF-Ize2cSRu1CqhzSAq5vusI9hqLLd2OIApUHesI,11918
|
71
71
|
seleniumbase/extensions/sbase_ext.zip,sha256=3s1N8zrVaMz8RQEOIoBzC3KDjtmHwVZRvVsX25Odr_s,8175
|
72
72
|
seleniumbase/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
73
|
-
seleniumbase/fixtures/base_case.py,sha256=
|
73
|
+
seleniumbase/fixtures/base_case.py,sha256=V1ashm9TqaDi7Lhv38HZz5mHQ8o4ag2CscfNXJuYmJo,701890
|
74
74
|
seleniumbase/fixtures/constants.py,sha256=TapuGLdERtvZPGMblVXkNGybr8tj8FMtN3sbJ3ygyoc,13569
|
75
75
|
seleniumbase/fixtures/css_to_xpath.py,sha256=9ouDB1xl4MJ2os6JOgTIAyHKOQfuxtxvXC3O5hSnEKA,1954
|
76
76
|
seleniumbase/fixtures/errors.py,sha256=KyxuEVx_e3MPhVrJfNIa_3ltMpbCFxfy_jxK8RFNTns,555
|
@@ -137,9 +137,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443
|
|
137
137
|
seleniumbase/utilities/selenium_ide/ReadMe.md,sha256=hznGeuMpkIimqMiZBW-4goIy2ltW4l8X9kb0YSPUQfE,4483
|
138
138
|
seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
139
139
|
seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
|
140
|
-
seleniumbase-4.29.
|
141
|
-
seleniumbase-4.29.
|
142
|
-
seleniumbase-4.29.
|
143
|
-
seleniumbase-4.29.
|
144
|
-
seleniumbase-4.29.
|
145
|
-
seleniumbase-4.29.
|
140
|
+
seleniumbase-4.29.6.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
141
|
+
seleniumbase-4.29.6.dist-info/METADATA,sha256=4i6JA3oDE4ZAvCqao_GmlA3bbOfq8RueLJs6TlPWvro,85695
|
142
|
+
seleniumbase-4.29.6.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
143
|
+
seleniumbase-4.29.6.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
144
|
+
seleniumbase-4.29.6.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
145
|
+
seleniumbase-4.29.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|