Bug 2056706 - fix for headless mode for automated webcompat intervention tests; r=ksenia
Differential Revision: https://phabricator.services.mozilla.com/D316867
This commit is contained in:
committed by
twisniewski@mozilla.com
parent
5b2b75817b
commit
6d702d81e3
@@ -157,6 +157,7 @@ class FirefoxWebDriver(WebDriver):
|
||||
if self.browser_binary:
|
||||
fx_options["binary"] = self.browser_binary
|
||||
if self.headless:
|
||||
fx_options.setdefault("args", [])
|
||||
fx_options["args"].append("--headless")
|
||||
|
||||
if self.device_serial:
|
||||
|
||||
Reference in New Issue
Block a user