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 231749b commit e9fc6b3Copy full SHA for e9fc6b3
conftest.py
@@ -68,7 +68,7 @@ def browser(playwright_instance) -> Browser:
68
Environment Variables:
69
HEADLESS: When 'true', runs the browser without a visible UI
70
"""
71
- if os.getenv('HEADLESS', 'false') == 'true':
+ if os.getenv('HEADLESS', 'false') == 'true' or os.getenv('GITHUB_RUN') is not None:
72
# Launch in headless mode (no visible browser window)
73
browser = playwright_instance.chromium.launch(headless=True)
74
else:
0 commit comments