We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a68a98 commit c03d1ecCopy full SHA for c03d1ec
seleniumbase/behave/behave_sb.py
@@ -823,6 +823,10 @@ def get_configured_sb(context):
823
sb.headless2 = True
824
if not sb.headless and not sb.headless2:
825
sb.headed = True
826
+ if sb.browser == "safari" and sb.headless:
827
+ sb.headless = False # Safari doesn't support headless mode
828
+ if sb.save_screenshot_after_test and sb.no_screenshot_after_test:
829
+ sb.save_screenshot_after_test = False # "no_screenshot" has priority
830
if sb.servername != "localhost":
831
# Using Selenium Grid
832
# (Set -D server="127.0.0.1" for localhost Grid)
0 commit comments