Use "CTRL+C" instead of "CTRL-C" in console messages

This commit is contained in:
Michael Mintz 2021-02-18 23:40:55 -05:00
parent 00ef684bde
commit 6f411a20a2
10 changed files with 11 additions and 11 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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/)

View File

@ -1,4 +1,4 @@
<h2><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> Creating a Test Runner with NodeJS + Express</h2>
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Creating a Test Runner with NodeJS + Express</h2>
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

View File

@ -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);

View File

@ -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: *********

View File

@ -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()

View File

@ -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))

View File

@ -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()

View File

@ -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()