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()
|
const chromeOptions = new chrome.Options()
|
||||||
.headless()
|
.headless()
|
||||||
.excludeSwitches("disable-default-apps")
|
.excludeSwitches([ "disable-background-networking"
|
||||||
.addArguments(
|
, "disable-default-apps"]);
|
||||||
`--user-data-dir=${path.resolve(__dirname, "ChromeProfile")}`);
|
|
||||||
|
|
||||||
|
|
||||||
async function create () {
|
async function create () {
|
||||||
|
|||||||
Reference in New Issue
Block a user