seleniumbase 4.31.6__py3-none-any.whl → 4.31.6a1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- seleniumbase/__init__.py +5 -4
- seleniumbase/__version__.py +1 -1
- seleniumbase/console_scripts/run.py +0 -14
- seleniumbase/fixtures/shared_utils.py +0 -6
- {seleniumbase-4.31.6.dist-info → seleniumbase-4.31.6a1.dist-info}/METADATA +1 -1
- {seleniumbase-4.31.6.dist-info → seleniumbase-4.31.6a1.dist-info}/RECORD +10 -10
- {seleniumbase-4.31.6.dist-info → seleniumbase-4.31.6a1.dist-info}/LICENSE +0 -0
- {seleniumbase-4.31.6.dist-info → seleniumbase-4.31.6a1.dist-info}/WHEEL +0 -0
- {seleniumbase-4.31.6.dist-info → seleniumbase-4.31.6a1.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.31.6.dist-info → seleniumbase-4.31.6a1.dist-info}/top_level.txt +0 -0
seleniumbase/__init__.py
CHANGED
@@ -22,13 +22,14 @@ from seleniumbase import translate # noqa
|
|
22
22
|
|
23
23
|
with suppress(Exception):
|
24
24
|
import colorama
|
25
|
-
|
26
|
-
with suppress(Exception):
|
27
25
|
import pdbp # (Pdb+) --- Python Debugger Plus
|
28
26
|
|
27
|
+
is_windows = shared_utils.is_windows()
|
29
28
|
with suppress(Exception):
|
30
|
-
|
31
|
-
|
29
|
+
if is_windows and hasattr(colorama, "just_fix_windows_console"):
|
30
|
+
colorama.just_fix_windows_console()
|
31
|
+
if not shared_utils.is_linux():
|
32
|
+
colorama.init(autoreset=True)
|
32
33
|
|
33
34
|
if sys.version_info[0] < 3 and "pdbp" in locals():
|
34
35
|
# With Python3, "import pdbp" is all you need
|
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.31.
|
2
|
+
__version__ = "4.31.6a1"
|
@@ -41,7 +41,6 @@ sbase grid-node start --hub=127.0.0.1
|
|
41
41
|
import colorama
|
42
42
|
import sys
|
43
43
|
import time
|
44
|
-
from contextlib import suppress
|
45
44
|
from seleniumbase.config import settings
|
46
45
|
from seleniumbase.fixtures import constants
|
47
46
|
from seleniumbase.fixtures import shared_utils
|
@@ -100,7 +99,6 @@ def show_basic_usage():
|
|
100
99
|
sc += '│ * For info on all commands => "sbase --help" │\n'
|
101
100
|
sc += "╰──────────────────────────────────────────────────╯"
|
102
101
|
sc += ""
|
103
|
-
bordered_sc = sc
|
104
102
|
if "linux" not in sys.platform:
|
105
103
|
c1 = colorama.Fore.BLUE + colorama.Back.LIGHTCYAN_EX
|
106
104
|
c2 = colorama.Fore.BLUE + colorama.Back.LIGHTGREEN_EX
|
@@ -112,18 +110,6 @@ def show_basic_usage():
|
|
112
110
|
sc = sc.replace("[COMMAND]", c3 + "[COMMAND]" + cr)
|
113
111
|
sc = sc.replace("--help", c4 + "--help" + cr)
|
114
112
|
sc = sc.replace("help", c4 + "help" + cr)
|
115
|
-
with suppress(Exception):
|
116
|
-
print(sc)
|
117
|
-
return
|
118
|
-
sc = bordered_sc.replace("╮\n", "")
|
119
|
-
sc = sc.replace("╭", "").replace("╮", "").replace("│", "")
|
120
|
-
sc = sc.replace("╰", "").replace("╯", "").replace("─", "")
|
121
|
-
if "linux" not in sys.platform:
|
122
|
-
sc = sc.replace("seleniumbase", c1 + "selenium" + c2 + "base" + cr)
|
123
|
-
sc = sc.replace("sbase", c1 + "s" + c2 + "base" + cr)
|
124
|
-
sc = sc.replace("[COMMAND]", c3 + "[COMMAND]" + cr)
|
125
|
-
sc = sc.replace("--help", c4 + "--help" + cr)
|
126
|
-
sc = sc.replace("help", c4 + "help" + cr)
|
127
113
|
print(sc)
|
128
114
|
|
129
115
|
|
@@ -1,5 +1,4 @@
|
|
1
1
|
"""Shared utility methods"""
|
2
|
-
import colorama
|
3
2
|
import os
|
4
3
|
import platform
|
5
4
|
import sys
|
@@ -68,11 +67,6 @@ def get_terminal_width():
|
|
68
67
|
return width
|
69
68
|
|
70
69
|
|
71
|
-
def fix_colorama_if_windows():
|
72
|
-
if is_windows():
|
73
|
-
colorama.just_fix_windows_console()
|
74
|
-
|
75
|
-
|
76
70
|
def format_exc(exception, message):
|
77
71
|
"""Formats an exception message to make the output cleaner."""
|
78
72
|
from selenium.common.exceptions import ElementNotVisibleException
|
@@ -1,9 +1,9 @@
|
|
1
1
|
sbase/__init__.py,sha256=02izDj786GVBT0bpSq2Q2O8uwSxtyT09pnobZz91ML8,605
|
2
2
|
sbase/__main__.py,sha256=G0bVB1-DM4PGwQ1KyOupaWCs4ePbChZNNWuX2htim5U,647
|
3
3
|
sbase/steps.py,sha256=bKT_u5bJkKzYWEuAXi9NVVRYYxQRCM1_YJUrNFFRVPY,42865
|
4
|
-
seleniumbase/__init__.py,sha256=
|
4
|
+
seleniumbase/__init__.py,sha256=yigLuimz_NgkHGh5fzkX9g3WqvxLwJLmQfdqQGRnei4,2520
|
5
5
|
seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
|
6
|
-
seleniumbase/__version__.py,sha256=
|
6
|
+
seleniumbase/__version__.py,sha256=5nxA5bH3forQ_lzEaQakJ9P86f0pgKin1zIH0bxPN_I,48
|
7
7
|
seleniumbase/behave/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
seleniumbase/behave/behave_helper.py,sha256=elkl8P9eLulRAioLstE9baYNM9N_PHBmAOcajX-pH_Y,24198
|
9
9
|
seleniumbase/behave/behave_sb.py,sha256=-hza7Nx2U41mSObYiPMi48v3JlPh3sJO3yzP0kqZ1Gk,59174
|
@@ -21,7 +21,7 @@ seleniumbase/config/settings.py,sha256=cAMmoFBQ6g8GCJIsRsSwGsP1_fJxhADxjHq30lFB1
|
|
21
21
|
seleniumbase/console_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
22
|
seleniumbase/console_scripts/logo_helper.py,sha256=ZqS9TAwpcu5mM5ll-a0wTbXLs2Sbcsyo3EoC4jwtnME,2927
|
23
23
|
seleniumbase/console_scripts/rich_helper.py,sha256=U_zvXpalxVV8rtg8c8EnNNmnh45tii3AV5ZV3O3KbGA,2234
|
24
|
-
seleniumbase/console_scripts/run.py,sha256=
|
24
|
+
seleniumbase/console_scripts/run.py,sha256=8S2vmMPXtv-lztSbY7WqlqZLb1qvppxmSi9duPtVMoI,58216
|
25
25
|
seleniumbase/console_scripts/sb_behave_gui.py,sha256=3Zl7_QQczvkkQW_UuaqYEUlEjiZ6AJzHR9GeNyVVXkc,15147
|
26
26
|
seleniumbase/console_scripts/sb_caseplans.py,sha256=qlmvjQ49bOBE1Q29fVmabimkVibCVr25GNtJhFPTMrc,18145
|
27
27
|
seleniumbase/console_scripts/sb_commander.py,sha256=yqoAK211OE6x5AWL2IAo8WojHtdkVj0AWqfoJ-ewmyo,13329
|
@@ -71,7 +71,7 @@ seleniumbase/fixtures/errors.py,sha256=KyxuEVx_e3MPhVrJfNIa_3ltMpbCFxfy_jxK8RFNT
|
|
71
71
|
seleniumbase/fixtures/js_utils.py,sha256=cYFRazc6iO2tTB5kf3_mW3czMQ8mJ5OSHldx7n31E8E,50940
|
72
72
|
seleniumbase/fixtures/page_actions.py,sha256=5xYWeTDLs9i1yOs5iWDk17CLoiUU5kRLHlmKRUJ7TcQ,63030
|
73
73
|
seleniumbase/fixtures/page_utils.py,sha256=5m7iXpikLs80TJoRO6_gEfXE1AKeQgcH1aFbR8o1C9A,12034
|
74
|
-
seleniumbase/fixtures/shared_utils.py,sha256=
|
74
|
+
seleniumbase/fixtures/shared_utils.py,sha256=Fc78v0OxfLPOPqeT8ExsdkTgXHlmpxvJeLbLyDnu1dI,5748
|
75
75
|
seleniumbase/fixtures/unittest_helper.py,sha256=sfZ92rZeBAn_sF_yQ3I6_I7h3lyU5-cV_UMegBNoEm8,1294
|
76
76
|
seleniumbase/fixtures/words.py,sha256=FOA4mAYvl3EPVpBTvgvK6YwCL8BdlRCmed685kEe7Vg,7827
|
77
77
|
seleniumbase/fixtures/xpath_to_css.py,sha256=lML56k656fElXJ4NJF07r35FjctrbgQkXUotNk7A-as,8876
|
@@ -126,9 +126,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.bat,sha256=Ftq-GrAKRYH2ssDPr
|
|
126
126
|
seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443QFK8PryBpDmKn5Gy0s4o0vDSM,106
|
127
127
|
seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
128
128
|
seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
|
129
|
-
seleniumbase-4.31.
|
130
|
-
seleniumbase-4.31.
|
131
|
-
seleniumbase-4.31.
|
132
|
-
seleniumbase-4.31.
|
133
|
-
seleniumbase-4.31.
|
134
|
-
seleniumbase-4.31.
|
129
|
+
seleniumbase-4.31.6a1.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
130
|
+
seleniumbase-4.31.6a1.dist-info/METADATA,sha256=m03ttIdnxvxg9gVTDoLcqo28KAWqu9zj5GTSK6Iy_wg,85317
|
131
|
+
seleniumbase-4.31.6a1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
132
|
+
seleniumbase-4.31.6a1.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
133
|
+
seleniumbase-4.31.6a1.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
134
|
+
seleniumbase-4.31.6a1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|