From 6f411a20a2f627bc2caa175336d31829a62e2ca2 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Thu, 18 Feb 2021 23:40:55 -0500 Subject: [PATCH] Use "CTRL+C" instead of "CTRL-C" in console messages --- examples/example_logs/ReadMe.md | 2 +- help_docs/customizing_test_runs.md | 2 +- integrations/brython/ReadMe.md | 2 +- integrations/node_js/ReadMe.md | 4 ++-- integrations/node_js/server.js | 2 +- seleniumbase/common/ReadMe.md | 2 +- seleniumbase/common/obfuscate.py | 2 +- seleniumbase/common/unobfuscate.py | 2 +- seleniumbase/utilities/selenium_grid/grid_hub.py | 2 +- seleniumbase/utilities/selenium_grid/grid_node.py | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/example_logs/ReadMe.md b/examples/example_logs/ReadMe.md index 1bf5440c..06e3f847 100755 --- a/examples/example_logs/ReadMe.md +++ b/examples/example_logs/ReadMe.md @@ -37,7 +37,7 @@ pytest --dashboard --rs --headless python -m http.server 1948 ``` -🔵 Now you can navigate to ``http://localhost:1948/dashboard.html`` in order to view the dashboard as a web app. This requires two different terminal windows: one for running the server, and another for running the tests, which should be run from the same directory. (Use ``CTRL-C`` to stop the http server.) +🔵 Now you can navigate to ``http://localhost:1948/dashboard.html`` in order to view the dashboard as a web app. This requires two different terminal windows: one for running the server, and another for running the tests, which should be run from the same directory. (Use ``CTRL+C`` to stop the http server.) 🔵 Here's a full example of what the SeleniumBase Dashboard may look like: diff --git a/help_docs/customizing_test_runs.md b/help_docs/customizing_test_runs.md index 1cfabca9..29b6e385 100755 --- a/help_docs/customizing_test_runs.md +++ b/help_docs/customizing_test_runs.md @@ -280,7 +280,7 @@ pytest --dashboard --rs --headless python -m http.server 1948 ``` -🔵 Now you can navigate to ``http://localhost:1948/dashboard.html`` in order to view the dashboard as a web app. This requires two different terminal windows: one for running the server, and another for running the tests, which should be run from the same directory. (Use ``CTRL-C`` to stop the http server.) +🔵 Now you can navigate to ``http://localhost:1948/dashboard.html`` in order to view the dashboard as a web app. This requires two different terminal windows: one for running the server, and another for running the tests, which should be run from the same directory. (Use ``CTRL+C`` to stop the http server.) 🔵 Here's a full example of what the SeleniumBase Dashboard may look like: diff --git a/integrations/brython/ReadMe.md b/integrations/brython/ReadMe.md index 2b7539a2..3658802f 100755 --- a/integrations/brython/ReadMe.md +++ b/integrations/brython/ReadMe.md @@ -10,7 +10,7 @@ ```bash python -m http.server ``` -You can always stop the server by using ``CTRL-C``. +You can always stop the server by using ``CTRL+C``. ### 2. Navigate to [http://localhost:8000/](http://localhost:8000/) diff --git a/integrations/node_js/ReadMe.md b/integrations/node_js/ReadMe.md index f0337666..1e4bab61 100755 --- a/integrations/node_js/ReadMe.md +++ b/integrations/node_js/ReadMe.md @@ -1,4 +1,4 @@ -

Creating a Test Runner with NodeJS + Express

+

Creating a Test Runner with NodeJS + Express

You can create a customized web app for running SeleniumBase tests by using NodeJS and Express. (This tutorial assumes that you've already installed SeleniumBase by following the instructions from the [top-level ReadMe](https://github.com/seleniumbase/SeleniumBase/blob/master/README.md) file.) @@ -29,7 +29,7 @@ npm install node server.js ``` -(You can always stop the server by using ``CTRL-C``.) +(You can always stop the server by using ``CTRL+C``.) #### 5. Open the SeleniumBase Test Runner web app diff --git a/integrations/node_js/server.js b/integrations/node_js/server.js index 97e05703..4a7162f6 100644 --- a/integrations/node_js/server.js +++ b/integrations/node_js/server.js @@ -3,7 +3,7 @@ const express = require('express'); const path = require('path'); const app = express(); const exec = require('child_process').exec; -var server_info = '\nServer running at http://127.0.0.1:3000/ (CTRL-C to stop)'; +var server_info = '\nServer running at http://127.0.0.1:3000/ (CTRL+C to stop)'; function run_command(command) { console.log("\n" + command); diff --git a/seleniumbase/common/ReadMe.md b/seleniumbase/common/ReadMe.md index 0483a914..4220bd5d 100755 --- a/seleniumbase/common/ReadMe.md +++ b/seleniumbase/common/ReadMe.md @@ -40,7 +40,7 @@ Often in your tests, you may need to login to a website to perform testing. This ```bash python obfuscate.py -Enter password to obfuscate: (CTRL-C to exit) +Enter password to obfuscate: (CTRL+C to exit) Password: ********* Verify password: Password: ********* diff --git a/seleniumbase/common/obfuscate.py b/seleniumbase/common/obfuscate.py index f96cf71f..8c6f8bf2 100755 --- a/seleniumbase/common/obfuscate.py +++ b/seleniumbase/common/obfuscate.py @@ -15,7 +15,7 @@ import time def main(): try: while(1): - print("\nEnter password to obfuscate: (CTRL-C to exit)") + print("\nEnter password to obfuscate: (CTRL+C to exit)") password = getpass.getpass() print("Verify password:") verify_password = getpass.getpass() diff --git a/seleniumbase/common/unobfuscate.py b/seleniumbase/common/unobfuscate.py index 279940cb..d9a41d2e 100755 --- a/seleniumbase/common/unobfuscate.py +++ b/seleniumbase/common/unobfuscate.py @@ -22,7 +22,7 @@ def main(): try: while(1): code = input_method( - '\nEnter obfuscated/encrypted string: (CTRL-C to exit):\n') + '\nEnter obfuscated/encrypted string: (CTRL+C to exit):\n') print("\nHere is the unobfuscated string/password:") time.sleep(0.07) print(encryption.decrypt(code)) diff --git a/seleniumbase/utilities/selenium_grid/grid_hub.py b/seleniumbase/utilities/selenium_grid/grid_hub.py index 034b5492..52f95369 100755 --- a/seleniumbase/utilities/selenium_grid/grid_hub.py +++ b/seleniumbase/utilities/selenium_grid/grid_hub.py @@ -106,7 +106,7 @@ def main(): subprocess.check_call(shell_command, shell=True) elif grid_hub_command == "stop": print("") - print("To stop the Grid Hub, use CTRL-C inside the server shell!") + print("To stop the Grid Hub, use CTRL+C inside the server shell!") print("") else: invalid_run_command() diff --git a/seleniumbase/utilities/selenium_grid/grid_node.py b/seleniumbase/utilities/selenium_grid/grid_node.py index 2c64fe18..94fe8c56 100755 --- a/seleniumbase/utilities/selenium_grid/grid_node.py +++ b/seleniumbase/utilities/selenium_grid/grid_node.py @@ -125,7 +125,7 @@ def main(): subprocess.check_call(shell_command, shell=True) elif grid_hub_command == "stop": print("") - print("To stop the Grid node, use CTRL-C inside the server shell!") + print("To stop the Grid node, use CTRL+C inside the server shell!") print("") else: invalid_run_command()