There was an error while loading. Please reload this page.
1 parent 3e05849 commit 14ef26bCopy full SHA for 14ef26b
pytest_splinter/plugin.py
@@ -237,7 +237,7 @@ def splinter_screenshot_dir(request):
237
@pytest.fixture(scope="session")
238
def splinter_headless(request):
239
"""Flag to start the browser in headless mode."""
240
- return request.config.option.splinter_headless == True
+ return request.config.option.splinter_headless
241
242
243
@pytest.fixture(scope="session") # pragma: no cover
@@ -781,5 +781,4 @@ def pytest_addoption(parser): # pragma: no cover
781
help="Run the browser in headless mode.",
782
action="store_true",
783
dest="splinter_headless",
784
- default="false",
785
)
0 commit comments