@mablhq/mabl-cli 1.48.36 → 1.48.41

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.
@@ -54,5 +54,8 @@ class ChromiumBrowserDelegate {
54
54
  supportsTracing() {
55
55
  return true;
56
56
  }
57
+ supportsExposeFunction() {
58
+ return true;
59
+ }
57
60
  }
58
61
  exports.ChromiumBrowserDelegate = ChromiumBrowserDelegate;
@@ -43,5 +43,8 @@ class FirefoxBrowserDelegate extends nonChromiumAbstractBrowserDelegate_1.NonChr
43
43
  getCDPSession() {
44
44
  return this._browser._connection;
45
45
  }
46
+ supportsExposeFunction() {
47
+ return true;
48
+ }
46
49
  }
47
50
  exports.FirefoxBrowserDelegate = FirefoxBrowserDelegate;
@@ -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;