mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Add "disable-background-networking" to excluded switches
This commit is contained in:
@@ -32,9 +32,8 @@ const firefoxOptions = new firefox.Options()
|
||||
|
||||
const chromeOptions = new chrome.Options()
|
||||
.headless()
|
||||
.excludeSwitches("disable-default-apps")
|
||||
.addArguments(
|
||||
`--user-data-dir=${path.resolve(__dirname, "ChromeProfile")}`);
|
||||
.excludeSwitches([ "disable-background-networking"
|
||||
, "disable-default-apps"]);
|
||||
|
||||
|
||||
async function create () {
|
||||
|
||||
Reference in New Issue
Block a user