File tree Expand file tree Collapse file tree 8 files changed +538
-256
lines changed Expand file tree Collapse file tree 8 files changed +538
-256
lines changed Original file line number Diff line number Diff line change 7272HEADLESS_START_WIDTH = 1440
7373HEADLESS_START_HEIGHT = 1880
7474
75+ # If True, hides messages related to downloading drivers.
76+ # If False, you'll see details about downloading drivers.
77+ # (This only affects driver downloads coming from tests.)
78+ # (Eg. Using "sbase get chromedriver" won't hide output.)
79+ HIDE_DRIVER_DOWNLOADS = False
80+
7581# Changing the default behavior of MasterQA Mode.
7682MASTERQA_DEFAULT_VALIDATION_MESSAGE = "Does the page look good?"
7783MASTERQA_WAIT_TIME_BEFORE_VERIFY = 0.5
Original file line number Diff line number Diff line change 118118HEADLESS_START_WIDTH = 1440
119119HEADLESS_START_HEIGHT = 1880
120120
121+ # If True, hides messages related to downloading drivers.
122+ # If False, you'll see details about downloading drivers.
123+ # (This only affects driver downloads coming from tests.)
124+ # (If calling "sbase get chromedriver", then won't hide.)
125+ HIDE_DRIVER_DOWNLOADS = False
126+
121127# #####>>>>>----- MasterQA SETTINGS -----<<<<<#####
122128# ##### (Used when importing MasterQA as the parent class)
123129
Original file line number Diff line number Diff line change 3939import colorama
4040import sys
4141import time
42+ from seleniumbase .config import settings
4243from seleniumbase .fixtures import constants
4344
4445colorama .init (autoreset = True )
@@ -143,6 +144,8 @@ def show_install_usage():
143144 print (" sbase get edgedriver" )
144145 print (" sbase get chromedriver 114" )
145146 print (" sbase get chromedriver 114.0.5735.90" )
147+ print (" sbase get chromedriver stable" )
148+ print (" sbase get chromedriver beta" )
146149 print (" sbase get chromedriver -p" )
147150 print (" Output:" )
148151 print (" Downloads the webdriver to seleniumbase/drivers/" )
@@ -984,6 +987,7 @@ def main():
984987 proxy_helper .validate_proxy_string (proxy_string )
985988 break
986989 try :
990+ settings .HIDE_DRIVER_DOWNLOADS = False
987991 sb_install .main ()
988992 except Exception as e :
989993 invalid_run_cmd = constants .Warnings .INVALID_RUN_COMMAND
You can’t perform that action at this time.
0 commit comments