@iflyrpa/playwright 1.2.9 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -2
- package/dist/index.js +3 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -406,8 +406,9 @@ class Task {
|
|
|
406
406
|
width: 1500,
|
|
407
407
|
height: 800,
|
|
408
408
|
webPreferences: {
|
|
409
|
-
nodeIntegration:
|
|
410
|
-
contextIsolation:
|
|
409
|
+
nodeIntegration: false,
|
|
410
|
+
contextIsolation: true,
|
|
411
|
+
sandbox: true
|
|
411
412
|
}
|
|
412
413
|
});
|
|
413
414
|
if (pageParams.cookies) await Promise.all(pageParams.cookies.map((cookie)=>electron.session.defaultSession.cookies.set(cookie)));
|
package/dist/index.js
CHANGED
|
@@ -355,8 +355,9 @@ class Task {
|
|
|
355
355
|
width: 1500,
|
|
356
356
|
height: 800,
|
|
357
357
|
webPreferences: {
|
|
358
|
-
nodeIntegration:
|
|
359
|
-
contextIsolation:
|
|
358
|
+
nodeIntegration: false,
|
|
359
|
+
contextIsolation: true,
|
|
360
|
+
sandbox: true
|
|
360
361
|
}
|
|
361
362
|
});
|
|
362
363
|
if (pageParams.cookies) await Promise.all(pageParams.cookies.map((cookie)=>electron.session.defaultSession.cookies.set(cookie)));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iflyrpa/playwright",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.10",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"extract-zip": "^2.0.1",
|
|
29
29
|
"loglevel": "^1.9.2",
|
|
30
30
|
"@iflyrpa/pacote": "1.0.0",
|
|
31
|
-
"@iflyrpa/actions": "1.1.
|
|
32
|
-
"@iflyrpa/share": "0.0.
|
|
31
|
+
"@iflyrpa/actions": "1.1.15",
|
|
32
|
+
"@iflyrpa/share": "0.0.5"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rslib build",
|