diff --git a/test/test.py b/test/test.py index d7a0fa674..53f65f78b 100644 --- a/test/test.py +++ b/test/test.py @@ -159,7 +159,10 @@ class BrowserCommand(): shutil.rmtree(self.tempDir) def start(self, url): - cmds = [self.path, "-foreground", "-no-remote", "-profile", self.profileDir, url] + cmds = [self.path] + if platform.system() == "Darwin": + cmds.append("-foreground") + cmds.extend(["-no-remote", "-profile", self.profileDir, url]) subprocess.call(cmds) def makeBrowserCommands(browserManifestFile):