mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Run Chrome tests in headless mode
This commit is contained in:
@@ -31,6 +31,7 @@ const firefoxOptions = new firefox.Options()
|
|||||||
.setPreference("xpinstall.signatures.required", false);
|
.setPreference("xpinstall.signatures.required", false);
|
||||||
|
|
||||||
const chromeOptions = new chrome.Options()
|
const chromeOptions = new chrome.Options()
|
||||||
|
.headless()
|
||||||
.excludeSwitches("disable-default-apps")
|
.excludeSwitches("disable-default-apps")
|
||||||
.addArguments(
|
.addArguments(
|
||||||
`--user-data-dir=${path.resolve(__dirname, "ChromeProfile")}`);
|
`--user-data-dir=${path.resolve(__dirname, "ChromeProfile")}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user