diff --git a/README.md b/README.md index b6107fc9..b536781a 100755 --- a/README.md +++ b/README.md @@ -292,7 +292,7 @@ nosetests [FILE_NAME.py]:[CLASS_NAME].[METHOD_NAME] NO MORE FLAKY TESTS! ✅ Automated/Manual Hybrid Mode: -

SeleniumBase includes a solution called MasterQA, which speeds up manual testing by having automation perform all the browser actions while the manual tester handles validatation.

+

SeleniumBase includes a solution called MasterQA, which speeds up manual testing by having automation perform all the browser actions while the manual tester handles validation.

✅ Feature-Rich:

For a full list of SeleniumBase features, Click Here.

@@ -670,7 +670,7 @@ text = self.get_text("header h2") attribute = self.get_attribute("#comic img", "title") ``` -🔵 Asserting existance of an element on a page within some number of seconds: +🔵 Asserting existence of an element on a page within some number of seconds: ```python self.wait_for_element_present("div.my_class", timeout=10) @@ -709,7 +709,7 @@ self.click('a[name*="partial_name"]') self.assert_text("Make it so!", "div#trek div.picard div.quotes") self.assert_text("Tea. Earl Grey. Hot.", "div#trek div.picard div.quotes", timeout=3) ``` -(NOTE: ``self.find_text(TEXT, ELEMENT)`` and ``self.wait_for_text(TEXT, ELEMENT)`` also do this. For backwords compatibility, older method names were kept, but the default timeout may be different.) +(NOTE: ``self.find_text(TEXT, ELEMENT)`` and ``self.wait_for_text(TEXT, ELEMENT)`` also do this. For backwards compatibility, older method names were kept, but the default timeout may be different.) 🔵 Asserting Anything: diff --git a/examples/ReadMe.md b/examples/ReadMe.md index 6a8334c7..52c1a5f7 100755 --- a/examples/ReadMe.md +++ b/examples/ReadMe.md @@ -6,7 +6,7 @@ * SeleniumBase tests are run with pytest. -* Chrome is the default browser if not specifed. +* Chrome is the default browser if not specified. * During test failures, logs and screenshots from the latest test run are saved to the ``latest_logs/`` folder. * Example tests are located in [SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples). diff --git a/examples/offline_examples/test_demo_page.py b/examples/offline_examples/test_demo_page.py index 8cd4d99a..ea649e93 100755 --- a/examples/offline_examples/test_demo_page.py +++ b/examples/offline_examples/test_demo_page.py @@ -39,7 +39,7 @@ class OfflineTestClass(BaseCase): # Assert that the given SVG is visible on the page self.assert_element('svg[name="svgName"]') - # Verify that a slider control updates a progrss bar + # Verify that a slider control updates a progress bar self.assert_element('progress[value="50"]') self.press_right_arrow("#myslider", times=5) self.assert_element('progress[value="100"]') diff --git a/examples/test_demo_site.py b/examples/test_demo_site.py index ecb45ddc..e7a9eddd 100755 --- a/examples/test_demo_site.py +++ b/examples/test_demo_site.py @@ -33,7 +33,7 @@ class MyTestClass(BaseCase): # Assert that the given SVG is visible on the page self.assert_element('svg[name="svgName"]') - # Verify that a slider control updates a progrss bar + # Verify that a slider control updates a progress bar self.assert_element('progress[value="50"]') self.press_right_arrow("#myslider", times=5) self.assert_element('progress[value="100"]') diff --git a/examples/test_skype_site.py b/examples/test_skype_site.py index 56e5590e..a4fffc2e 100755 --- a/examples/test_skype_site.py +++ b/examples/test_skype_site.py @@ -2,7 +2,7 @@ This is a mobile device test for Chromium-based browsers (such as MS Edge) Usage: pytest test_skype_site.py --mobile --browser=edge -Default mobile settings for User Agent and Device Metrics if not specifed: +Default mobile settings for User Agent and Device Metrics if not specified: User Agent: --agent="Mozilla/5.0 (Linux; Android 9; Pixel 3 XL)" CSS Width, CSS Height, Pixel-Ratio: --metrics="411,731,3" """ diff --git a/examples/translations/ReadMe.md b/examples/translations/ReadMe.md index 14743485..d53b480b 100755 --- a/examples/translations/ReadMe.md +++ b/examples/translations/ReadMe.md @@ -54,7 +54,7 @@ specified. Method calls and ``import`` lines get swapped. Both a language and an action must be specified. The ``-p`` action can be paired with one other action. When running with ``-c`` (or ``--copy``) the new file name -will be the orginal name appended with an underscore +will be the original name appended with an underscore plus the 2-letter language code of the new language. (Example: Translating ``test_1.py`` into Japanese with ``-c`` will create a new file called ``test_1_ja.py``.) diff --git a/help_docs/happy_customers.md b/help_docs/happy_customers.md index f0c2ed88..59de6cb5 100755 --- a/help_docs/happy_customers.md +++ b/help_docs/happy_customers.md @@ -1,4 +1,4 @@ -

Here are some organizations that've used SeleniumBase:

+

Here are some organizations that have used SeleniumBase:

* [HubSpot](https://www.hubspot.com/) * [Veracode](https://www.veracode.com/) @@ -9,7 +9,7 @@ * [MIT](https://web.mit.edu/) * [Harvard Medical School](https://hms.harvard.edu/) * [Mississippi State University](https://www.msstate.edu/) -* [Queen's Univeristy](https://www.queensu.ca/) +* [Queen's University](https://www.queensu.ca/) * [L1NNA Laboratory](https://l1nna.com/) * [First American](https://www.firstam.com/) * [StreamSets](https://streamsets.com/) diff --git a/help_docs/translations.md b/help_docs/translations.md index 14743485..d53b480b 100755 --- a/help_docs/translations.md +++ b/help_docs/translations.md @@ -54,7 +54,7 @@ specified. Method calls and ``import`` lines get swapped. Both a language and an action must be specified. The ``-p`` action can be paired with one other action. When running with ``-c`` (or ``--copy``) the new file name -will be the orginal name appended with an underscore +will be the original name appended with an underscore plus the 2-letter language code of the new language. (Example: Translating ``test_1.py`` into Japanese with ``-c`` will create a new file called ``test_1_ja.py``.) diff --git a/integrations/node_js/test_demo_site.py b/integrations/node_js/test_demo_site.py index ecb45ddc..e7a9eddd 100755 --- a/integrations/node_js/test_demo_site.py +++ b/integrations/node_js/test_demo_site.py @@ -33,7 +33,7 @@ class MyTestClass(BaseCase): # Assert that the given SVG is visible on the page self.assert_element('svg[name="svgName"]') - # Verify that a slider control updates a progrss bar + # Verify that a slider control updates a progress bar self.assert_element('progress[value="50"]') self.press_right_arrow("#myslider", times=5) self.assert_element('progress[value="100"]') diff --git a/seleniumbase/common/ReadMe.md b/seleniumbase/common/ReadMe.md index 23539502..0483a914 100755 --- a/seleniumbase/common/ReadMe.md +++ b/seleniumbase/common/ReadMe.md @@ -48,7 +48,7 @@ Password: ********* Here is the obfuscated password: $^*ENCRYPT=RXlYMSJWTz8HSwM=?&#$ ``` -(You can also use [unobfuscate.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/common/unobfuscate.py) to encrypt passwords without having them masked while typing them. Or you can use it to decrypt an obfuscated pasword.) +(You can also use [unobfuscate.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/common/unobfuscate.py) to encrypt passwords without having them masked while typing them. Or you can use it to decrypt an obfuscated password.) * Finally, in your tests you can now decrypt obfuscated passwords for use in login methods like this: ```python diff --git a/seleniumbase/config/settings.py b/seleniumbase/config/settings.py index f6d9361a..70cd77bd 100755 --- a/seleniumbase/config/settings.py +++ b/seleniumbase/config/settings.py @@ -105,7 +105,7 @@ MASTERQA_WAIT_TIME_BEFORE_VERIFY = 0.5 # If True, the automation will start in full-screen mode MASTERQA_START_IN_FULL_SCREEN_MODE = False -# The maximimum idle time allowed (in seconds) before timing out and exiting +# The maximum idle time allowed (in seconds) before timing out and exiting MASTERQA_MAX_IDLE_TIME_BEFORE_QUIT = 600 diff --git a/seleniumbase/console_scripts/ReadMe.md b/seleniumbase/console_scripts/ReadMe.md index fdcc3cd7..8f40963e 100755 --- a/seleniumbase/console_scripts/ReadMe.md +++ b/seleniumbase/console_scripts/ReadMe.md @@ -125,7 +125,7 @@ specified. Method calls and "import" lines get swapped. Both a language and an action must be specified. The ``-p`` action can be paired with one other action. When running with ``-c`` (or ``--copy``), the new file name -will be the orginal name appended with an underscore +will be the original name appended with an underscore plus the 2-letter language code of the new language. (Example: Translating "test_1.py" into Japanese with ``-c`` will create a new file called "test_1_ja.py".) diff --git a/seleniumbase/console_scripts/run.py b/seleniumbase/console_scripts/run.py index f12b751e..01758558 100644 --- a/seleniumbase/console_scripts/run.py +++ b/seleniumbase/console_scripts/run.py @@ -246,7 +246,7 @@ def show_translate_usage(): print(" Both a language and an action must be specified.") print(' The "-p" action can be paired with one other action.') print(' When running with "-c" (or "--copy"), the new file name') - print(' will be the orginal name appended with an underscore') + print(' will be the original name appended with an underscore') print(" plus the 2-letter language code of the new language.") print(' (Example: Translating "test_1.py" into Japanese with') print(' "-c" will create a new file called "test_1_ja.py".)') diff --git a/seleniumbase/core/s3_manager.py b/seleniumbase/core/s3_manager.py index 27206515..f2b3309d 100755 --- a/seleniumbase/core/s3_manager.py +++ b/seleniumbase/core/s3_manager.py @@ -73,7 +73,7 @@ class S3LoggingBucket(object): return "%s%s" % (self.bucket_url, file_name) def save_uploaded_file_names(self, files): - """ Keep a record of all file names that've been uploaded. Upload log + """ Keep a record of all file names that have been uploaded. Upload log files related to each test after its execution. Once done, use already_uploaded_files to create an index file. """ global already_uploaded_files diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index 5b9d3c0d..3767fda8 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -1757,7 +1757,7 @@ class BaseCase(unittest.TestCase): """ Brings driver control outside the current iframe. (If driver control is inside an iframe, the driver control will be set to one level above the current frame. If the driver - control is not currenly in an iframe, nothing will happen.) """ + control is not currently in an iframe, nothing will happen.) """ self.driver.switch_to.default_content() def open_new_window(self, switch_to=True): @@ -2665,7 +2665,7 @@ class BaseCase(unittest.TestCase): codec - The compression format for character encoding. (The default codec used by this method is 'utf-8'.) wrap - Replaces ' \n' with ' ' so that individual sentences - from a PDF don't get broken up into seperate lines when + from a PDF don't get broken up into separate lines when getting converted into text format. nav - If PDF is a URL, navigates to the URL in the browser first. (Not needed because the PDF will be downloaded anyway.) @@ -2737,7 +2737,7 @@ class BaseCase(unittest.TestCase): codec - The compression format for character encoding. (The default codec used by this method is 'utf-8'.) wrap - Replaces ' \n' with ' ' so that individual sentences - from a PDF don't get broken up into seperate lines when + from a PDF don't get broken up into separate lines when getting converted into text format. nav - If PDF is a URL, navigates to the URL in the browser first. (Not needed because the PDF will be downloaded anyway.) @@ -5364,7 +5364,7 @@ class BaseCase(unittest.TestCase): def wait_for_element_not_visible(self, selector, by=By.CSS_SELECTOR, timeout=None): """ Waits for an element to no longer be visible on a page. - The element can be non-existant in the HTML or hidden on the page + The element can be non-existent in the HTML or hidden on the page to qualify as not visible. """ if not timeout: timeout = settings.LARGE_TIMEOUT diff --git a/seleniumbase/plugins/pytest_plugin.py b/seleniumbase/plugins/pytest_plugin.py index 7ff0ec0a..d8d2b782 100644 --- a/seleniumbase/plugins/pytest_plugin.py +++ b/seleniumbase/plugins/pytest_plugin.py @@ -496,7 +496,7 @@ def pytest_addoption(parser): default=None, help="""Setting this overrides the default timeout by the multiplier when waiting for page elements. - Unused when tests overide the default value.""") + Unused when tests override the default value.""") for arg in sys.argv: if "--timeout=" in arg: raise Exception( diff --git a/seleniumbase/plugins/s3_logging_plugin.py b/seleniumbase/plugins/s3_logging_plugin.py index 28d991c6..aa96ba7b 100755 --- a/seleniumbase/plugins/s3_logging_plugin.py +++ b/seleniumbase/plugins/s3_logging_plugin.py @@ -1,5 +1,5 @@ """ -The S3 Logging Plugin to upload all logs to the S3 bucket specifed. +The S3 Logging Plugin to upload all logs to the S3 bucket specified. """ import uuid diff --git a/seleniumbase/plugins/selenium_plugin.py b/seleniumbase/plugins/selenium_plugin.py index f400c85e..0b200d9c 100755 --- a/seleniumbase/plugins/selenium_plugin.py +++ b/seleniumbase/plugins/selenium_plugin.py @@ -388,7 +388,7 @@ class SeleniumBrowser(Plugin): default=None, help="""Setting this overrides the default timeout by the multiplier when waiting for page elements. - Unused when tests overide the default value.""") + Unused when tests override the default value.""") def configure(self, options, conf): super(SeleniumBrowser, self).configure(options, conf) diff --git a/seleniumbase/translate/translator.py b/seleniumbase/translate/translator.py index 017e9267..feff0988 100755 --- a/seleniumbase/translate/translator.py +++ b/seleniumbase/translate/translator.py @@ -23,7 +23,7 @@ Output: Both a language and an action must be specified. The "-p" action can be paired with one other action. When running with "-c" (or "--copy"), the new file name - will be the orginal name appended with an underscore + will be the original name appended with an underscore plus the 2-letter language code of the new language. (Example: Translating "test_1.py" into Japanese with "-c" will create a new file called "test_1_ja.py".) @@ -63,7 +63,7 @@ def invalid_run_command(msg=None): exp += " Both a language and an action must be specified.\n" exp += ' The "-p" action can be paired with one other action.\n' exp += ' When running with "-c" (or "--copy"), the new file name\n' - exp += ' will be the orginal name appended with an underscore\n' + exp += ' will be the original name appended with an underscore\n' exp += " plus the 2-letter language code of the new language.\n" exp += ' (Example: Translating "test_1.py" into Japanese with\n' exp += ' "-c" will create a new file called "test_1_ja.py".)\n'