@playwright/test 1.35.0-alpha-may-31-2023 → 1.35.0-alpha-jun-1-2023

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.
@@ -159,7 +159,9 @@ class UIMode {
159
159
  }
160
160
  _dispatchEvent(message) {
161
161
  // eslint-disable-next-line no-console
162
- this._page.mainFrame().evaluateExpression(dispatchFuncSource, true, message).catch(e => this._originalStderrWrite.call(process.stderr, String(e)));
162
+ this._page.mainFrame().evaluateExpression(dispatchFuncSource, {
163
+ isFunction: true
164
+ }, message).catch(e => this._originalStderrWrite.call(process.stderr, String(e)));
163
165
  }
164
166
  async _listTests() {
165
167
  const listReporter = new _teleEmitter.TeleReporterEmitter(e => this._dispatchEvent(e));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playwright/test",
3
- "version": "1.35.0-alpha-may-31-2023",
3
+ "version": "1.35.0-alpha-jun-1-2023",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": "github:Microsoft/playwright",
6
6
  "homepage": "https://playwright.dev",
@@ -41,7 +41,7 @@
41
41
  "license": "Apache-2.0",
42
42
  "dependencies": {
43
43
  "@types/node": "*",
44
- "playwright-core": "1.35.0-alpha-may-31-2023"
44
+ "playwright-core": "1.35.0-alpha-jun-1-2023"
45
45
  },
46
46
  "optionalDependencies": {
47
47
  "fsevents": "2.3.2"