Skip to content

Commit 332f60a

Browse files
Update as per the new selenium
This is a change base on the below documentation https://www.selenium.dev/blog/2023/headless-is-going-away/
1 parent b930b82 commit 332f60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def webdriver(headless: bool):
131131
"""
132132

133133
options = ChromeOptions()
134-
options.headless = headless
134+
options.add_argument("--headless=new")
135135

136136
if USE_EXECUTION_CLOUD:
137137
driver = Remote(

0 commit comments

Comments
 (0)