You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/common.py
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,12 @@ def configure(data_dir):
139
139
classSafariConfig:
140
140
default_flags= ('', )
141
141
executable_name='Safari'
142
+
# For the macOS 'open' command, pass
143
+
# --new: to make a new Safari app be launched, rather than add a tab to an existing Safari process/window
144
+
# --fresh: do not restore old tabs (e.g. if user had old navigated windows open)
145
+
# --background: Open the new Safari window behind the current Terminal window, to make following the test run more pleasing (this is for convenience only)
146
+
# -a <exe_name>: The path to the executable to open, in this case Safari
# --new: to make a new Safari app be launched, rather than add a tab to an existing Safari process/window
2624
-
# --fresh: do not restore old tabs (e.g. if user had old navigated windows open)
2625
-
# --background: Open the new Safari window behind the current Terminal window, to make following the test run more pleasing (this is for convenience only)
2626
-
# -a <exe_name>: The path to the executable to open, in this case Safari
logger.warning('Could not detect the launched browser subprocesses. The test harness may not be able to close browser windows if a test hangs, and at harness exit.')
2665
+
exit_with_error('Could not detect the launched browser subprocesses. The test harness will not be able to close the browser after testing is done, so aborting the test run here.')
2665
2666
2666
2667
# Firefox on Windows quirk:
2667
2668
# Make sure that each browser window is visible on the desktop. Otherwise
0 commit comments