Skip to content

Commit 167c230

Browse files
committed
Update info messages
1 parent e2502f8 commit 167c230

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

seleniumbase/behave/behave_sb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,8 @@ def get_configured_sb(context):
813813
'(Linux uses "-D headless" by default. '
814814
'To override, use "-D headed" / "-D gui". '
815815
'For Xvfb mode instead, use "-D xvfb". '
816-
'Or hide this info with "-D headless",'
817-
'or by calling the new "-D headless2".)'
816+
"Or you can hide this info by using"
817+
'"-D headless" / "-D headless2".)'
818818
)
819819
sb.headless = True
820820
# Recorder Mode can still optimize scripts in --headless2 mode.

seleniumbase/plugins/pytest_plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,8 +1587,8 @@ def pytest_configure(config):
15871587
"(Linux uses --headless by default. "
15881588
"To override, use --headed / --gui. "
15891589
"For Xvfb mode instead, use --xvfb. "
1590-
"Or hide this info with --headless, "
1591-
"or by calling the new --headless2.)"
1590+
"Or you can hide this info by using "
1591+
"--headless / --headless2.)"
15921592
)
15931593
sb_config.headless = True
15941594

seleniumbase/plugins/selenium_plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,8 +1138,8 @@ def beforeTest(self, test):
11381138
"(Linux uses --headless by default. "
11391139
"To override, use --headed / --gui. "
11401140
"For Xvfb mode instead, use --xvfb. "
1141-
"Or hide this info with --headless, "
1142-
"or by calling the new --headless2.)"
1141+
"Or you can hide this info by using "
1142+
"--headless / --headless2.)"
11431143
)
11441144
self.options.headless = True
11451145
test.test.headless = True

0 commit comments

Comments
 (0)