@mablhq/mabl-cli 2.72.15 → 2.72.26
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/browserEngines/firefoxBrowserEngine.js +8 -0
- package/browserLauncher/index.js +3 -3
- package/commands/mcp/mcp_cmds/start.js +25 -29
- package/commands/mcp/mcp_cmds/tools/common.js +1 -61
- package/commands/mcp/mcp_cmds/tools/getWorkspaces.js +51 -0
- package/commands/mcp/mcp_cmds/tools/index.js +4 -0
- package/commands/mcp/mcp_cmds/tools/switchWorkspace.js +42 -0
- package/execution/index.js +2 -2
- package/mablscript/MablStepV2.js +0 -3
- package/mablscript/mobile/steps/stepUtil.js +2 -2
- package/mablscript/steps/EchoStep.js +3 -4
- package/mablscript/steps/IfConditionStep.js +3 -1
- package/package.json +4 -3
- package/providers/cliConfigProvider.js +2 -2
- package/proxy/index.js +1 -1
- package/upload/index.js +1 -1
|
@@ -65,6 +65,8 @@ class FirefoxBrowserEngine {
|
|
|
65
65
|
}
|
|
66
66
|
getProxyPreferences(proxyInfo) {
|
|
67
67
|
const proxyPreferences = {};
|
|
68
|
+
proxyPreferences['network.proxy.allow_hijacking_localhost'] = true;
|
|
69
|
+
proxyPreferences['network.proxy.testing_localhost_is_secure_when_hijacked'] = true;
|
|
68
70
|
if (proxyInfo?.pacProxy) {
|
|
69
71
|
proxyPreferences['network.proxy.autoconfig_url'] = proxyInfo.pacProxy;
|
|
70
72
|
proxyPreferences['network.proxy.type'] = 2;
|
|
@@ -85,6 +87,9 @@ class FirefoxBrowserEngine {
|
|
|
85
87
|
proxyPreferences['network.proxy.share_proxy_settings'] = true;
|
|
86
88
|
proxyPreferences['network.proxy.type'] = 1;
|
|
87
89
|
}
|
|
90
|
+
if (proxyInfo) {
|
|
91
|
+
proxyPreferences['network.proxy.no_proxies_on'] = 'localhost,127.0.0.1';
|
|
92
|
+
}
|
|
88
93
|
return proxyPreferences;
|
|
89
94
|
}
|
|
90
95
|
prepareBrowserPreferencesDirectory(_windowPlacement, proxyInfo) {
|
|
@@ -151,6 +156,9 @@ class FirefoxBrowserEngine {
|
|
|
151
156
|
'media.navigator.streams.fake': true,
|
|
152
157
|
'dom.webnotifications.enabled': true,
|
|
153
158
|
'network.proxy.socks_remote_dns': true,
|
|
159
|
+
'security.fileuri.strict_origin_policy': false,
|
|
160
|
+
'security.mixed_content.block_active_content': false,
|
|
161
|
+
'security.mixed_content.block_display_content': false,
|
|
154
162
|
};
|
|
155
163
|
}
|
|
156
164
|
getProxySpec(_proxyInfo) {
|