@mablhq/mabl-cli 1.48.36 → 1.48.37
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/browserLauncher/playwrightBrowserLauncher/chromium/chromiumBrowserDelegate.js +3 -0
- package/browserLauncher/playwrightBrowserLauncher/firefox/firefoxBrowserDelegate.js +3 -0
- package/browserLauncher/playwrightBrowserLauncher/playwrightBrowser.js +3 -0
- package/browserLauncher/playwrightBrowserLauncher/webkit/webkitBrowserDelegate.js +3 -0
- package/execution/index.js +1 -1
- package/package.json +1 -1
|
@@ -162,6 +162,9 @@ class PlaywrightBrowser extends events_1.default {
|
|
|
162
162
|
exposeFunction(name, callback) {
|
|
163
163
|
return this.defaultContext.exposeFunction(name, callback);
|
|
164
164
|
}
|
|
165
|
+
supportsExposeFunction() {
|
|
166
|
+
return this.browserDelegate.supportsExposeFunction();
|
|
167
|
+
}
|
|
165
168
|
supportsTracing() {
|
|
166
169
|
return this.browserDelegate.supportsTracing();
|
|
167
170
|
}
|
|
@@ -43,5 +43,8 @@ class WebkitBrowserDelegate extends nonChromiumAbstractBrowserDelegate_1.NonChro
|
|
|
43
43
|
getCDPSession() {
|
|
44
44
|
return this._browser._connection.browserSession;
|
|
45
45
|
}
|
|
46
|
+
supportsExposeFunction() {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
46
49
|
}
|
|
47
50
|
exports.WebkitBrowserDelegate = WebkitBrowserDelegate;
|