Spaces:
Runtime error
Runtime error
dishant commited on
Commit ·
bcd21dd
1
Parent(s): b17d19f
Add flag to disable site isolation in headless browser
Browse files
index.js
CHANGED
|
@@ -51,7 +51,8 @@ app.get('/screenshot', async (req, res) => {
|
|
| 51 |
'--single-process',
|
| 52 |
//use of the `--disable-extensions` flag to prevent the browser from loading extensions
|
| 53 |
'--disable-extensions',
|
| 54 |
-
|
|
|
|
| 55 |
|
| 56 |
],
|
| 57 |
});
|
|
|
|
| 51 |
'--single-process',
|
| 52 |
//use of the `--disable-extensions` flag to prevent the browser from loading extensions
|
| 53 |
'--disable-extensions',
|
| 54 |
+
//use of '--disable-feature=site-per-process' flag to disable site isolation
|
| 55 |
+
'--disable-features=site-per-process',
|
| 56 |
|
| 57 |
],
|
| 58 |
});
|