Skip to content

Commit ba34630

Browse files
committed
[req-change] Use --headless
1 parent e71ec70 commit ba34630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openwisp_utils/tests/selenium.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_chrome_webdriver(cls):
8282
options = webdriver.ChromeOptions()
8383
options.page_load_strategy = 'eager'
8484
if os.environ.get('SELENIUM_HEADLESS', False):
85-
options.add_argument('--headless=new')
85+
options.add_argument('--headless')
8686
CHROME_BIN = os.environ.get('CHROME_BIN', None)
8787
if CHROME_BIN:
8888
options.binary_location = CHROME_BIN

0 commit comments

Comments
 (0)