From 6bfc05338407eed6bc3c622b5c032ba869c265b2 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Thu, 2 Jul 2020 23:49:22 -0400 Subject: [PATCH 1/4] Add color to the "sbase mkdir DIR" success message --- seleniumbase/console_scripts/sb_mkdir.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/seleniumbase/console_scripts/sb_mkdir.py b/seleniumbase/console_scripts/sb_mkdir.py index 88287deb658..68a71862976 100755 --- a/seleniumbase/console_scripts/sb_mkdir.py +++ b/seleniumbase/console_scripts/sb_mkdir.py @@ -43,6 +43,7 @@ def invalid_run_command(msg=None): def main(): colorama.init(autoreset=True) + c1 = colorama.Fore.BLUE + colorama.Back.LIGHTCYAN_EX c5 = colorama.Fore.RED + colorama.Back.LIGHTYELLOW_EX cr = colorama.Style.RESET_ALL error_msg = None @@ -355,8 +356,10 @@ def main(): file = codecs.open(file_path, "w+", "utf-8") file.writelines("\r\n".join(data)) file.close() - print('''\n* Directory "%s" was created with config files ''' - '''and sample tests! *\n''' % dir_name) + success = ( + '\n' + c1 + '* Directory "' + dir_name + '" was created ' + 'with config files and sample tests! *' + cr + '\n') + print(success) if __name__ == "__main__": From 156ae9ca1362c109896f6bc0932f21c145d82f2f Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Thu, 2 Jul 2020 23:50:06 -0400 Subject: [PATCH 2/4] Update a Python dependency (rich==3.0.2) --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 90c9a261313..64e670c1921 100755 --- a/requirements.txt +++ b/requirements.txt @@ -42,7 +42,7 @@ coverage==5.1 pyotp==2.3.0 boto==2.49.0 cffi==1.14.0 -rich==3.0.1;python_version>="3.6" and python_version<"4.0" +rich==3.0.2;python_version>="3.6" and python_version<"4.0" flake8==3.7.9;python_version<"3.5" flake8==3.8.3;python_version>="3.5" pyflakes==2.1.1;python_version<"3.5" diff --git a/setup.py b/setup.py index b0e77d4d032..f8449b50681 100755 --- a/setup.py +++ b/setup.py @@ -134,7 +134,7 @@ 'pyotp==2.3.0', 'boto==2.49.0', 'cffi==1.14.0', - 'rich==3.0.1;python_version>="3.6" and python_version<"4.0"', + 'rich==3.0.2;python_version>="3.6" and python_version<"4.0"', 'flake8==3.7.9;python_version<"3.5"', 'flake8==3.8.3;python_version>="3.5"', 'pyflakes==2.1.1;python_version<"3.5"', From b76364c9b97a0467ff554008a4327e64ff9e08d0 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Thu, 2 Jul 2020 23:50:48 -0400 Subject: [PATCH 3/4] Update the ReadMe --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 88fb87710f9..ee24e29623d 100755 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@

-SeleniumBase is an all-in-one framework for web automation, end-to-end testing, and website tours. +SeleniumBase is an all-in-one framework for web automation, end-to-end testing, web presentations, and website tours. Tests are run with "pytest". Browsers are controlled by WebDriver.

From 2d409204f75522229ae074e2719dc0acdddd89c1 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Thu, 2 Jul 2020 23:51:30 -0400 Subject: [PATCH 4/4] Version 1.42.4 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f8449b50681..51ca722e5e4 100755 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ setup( name='seleniumbase', - version='1.42.3', + version='1.42.4', description='Fast, Easy, and Reliable Browser Automation & Testing.', long_description=long_description, long_description_content_type='text/markdown',