Skip to content

Commit dea5672

Browse files
committed
Update comments
1 parent 0a3a392 commit dea5672

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def _add_chrome_proxy_extension(
227227
chrome_options = add_chrome_ext_dir(chrome_options, PROXY_DIR_PATH)
228228

229229
else:
230-
# Pytest multi-threaded test
230+
# Pytest multithreaded test
231231
if zip_it:
232232
proxy_zip_lock = fasteners.InterProcessLock(PROXY_ZIP_LOCK)
233233
with proxy_zip_lock:
@@ -2118,7 +2118,7 @@ def get_local_driver(
21182118
arg_join = " ".join(sys.argv)
21192119
if ("-n" in sys.argv) or (" -n=" in arg_join) or (arg_join == "-c"):
21202120
# Skip if multithreaded
2121-
raise Exception("Can't run Safari tests in multi-threaded mode!")
2121+
raise Exception("Can't run Safari tests in multithreaded mode!")
21222122
warnings.simplefilter("ignore", category=DeprecationWarning)
21232123
return webdriver.safari.webdriver.WebDriver(quiet=False)
21242124
elif browser_name == constants.Browser.OPERA:

seleniumbase/undetected/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ def __init__(
117117
suppress_welcome: (default: True)
118118
Suppress the Chrome welcome screen that appears on first-time runs.
119119
120-
use_subprocess:
121-
False (default) Give Chrome its own process,
122-
rather than subprocessing chromedriver or python.
120+
use_subprocess: (default: False)
121+
Subprocess chromedriver/python: Don't make Chrome a parent process.
123122
"""
124123
self.debug = debug
125124
patcher = Patcher(

0 commit comments

Comments
 (0)