Skip to content

Commit d8680d8

Browse files
committed
Linux workaround
1 parent ea8b331 commit d8680d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from subprocess import PIPE, STDOUT
3131
from typing import Dict, Tuple
3232
from urllib.parse import parse_qs, unquote, unquote_plus, urlparse
33+
from .utils import LINUX
3334

3435
import clang_native
3536
import jsrun
@@ -137,7 +138,7 @@ def configure(data_dir):
137138

138139
class FirefoxConfig:
139140
data_dir_flag = '-profile '
140-
default_flags = ('-new-instance', '-wait-for-browser')
141+
default_flags = ('-new-instance',) if LINUX else ('-new-instance', '-wait-for-browser')
141142
headless_flags = '-headless'
142143
executable_name = utils.exe_suffix('firefox')
143144

0 commit comments

Comments
 (0)