We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd573f1 commit 91070eeCopy full SHA for 91070ee
seleniumbase/console_scripts/sb_install.py
@@ -113,10 +113,8 @@ def main(override=None):
113
114
num_args = len(sys.argv)
115
if (
116
- sys.argv[0].split("/")[-1].lower() == "seleniumbase"
117
- or (sys.argv[0].split("\\")[-1].lower() == "seleniumbase")
118
- or (sys.argv[0].split("/")[-1].lower() == "sbase")
119
- or (sys.argv[0].split("\\")[-1].lower() == "sbase")
+ "sbase" in sys.argv[0].lower()
+ or ("seleniumbase" in sys.argv[0].lower())
120
):
121
if num_args < 3 or num_args > 5:
122
invalid_run_command()
0 commit comments