@xcanwin/manyoyo 5.11.8 → 5.11.9
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/lib/plugin/playwright.js +2 -0
- package/package.json +1 -1
package/lib/plugin/playwright.js
CHANGED
|
@@ -1092,6 +1092,7 @@ class PlaywrightPlugin {
|
|
|
1092
1092
|
const hostConfigPath = this.sceneCliAttachConfigPath(sceneName);
|
|
1093
1093
|
const containerConfigPath = `/tmp/manyoyo-playwright/${sceneName}.cli-attach.json`;
|
|
1094
1094
|
this.writeSceneCliAttachConfig(sceneName, {
|
|
1095
|
+
outputDir: '/tmp/.playwright-cli',
|
|
1095
1096
|
browser: {
|
|
1096
1097
|
// launch-server(非 shared)不预创建 context;remoteEndpoint 存在时
|
|
1097
1098
|
// playwright-cli 默认 isolated=false 会走 contexts()[0] 并报
|
|
@@ -1120,6 +1121,7 @@ class PlaywrightPlugin {
|
|
|
1120
1121
|
const containerConfigPath = `/tmp/manyoyo-playwright/${sceneName}.cli-attach.json`;
|
|
1121
1122
|
|
|
1122
1123
|
this.writeSceneCliAttachConfig(sceneName, {
|
|
1124
|
+
outputDir: '/tmp/.playwright-cli',
|
|
1123
1125
|
browser: {
|
|
1124
1126
|
cdpEndpoint,
|
|
1125
1127
|
cdpHeaders: {
|