playwright-core
Advanced tools
Comparing version 1.48.0-beta-1728916380000 to 1.48.0-beta-1728939942000
@@ -131,2 +131,3 @@ "use strict"; | ||
recorderApp.setActions(data.actions, data.sources); | ||
recorderApp.setRunningFile(undefined); | ||
this._pushAllSources(); | ||
@@ -287,3 +288,3 @@ }); | ||
this._pushAllSources(); | ||
if (fileToSelect) (_this$_recorderApp6 = this._recorderApp) === null || _this$_recorderApp6 === void 0 || _this$_recorderApp6.setFile(fileToSelect); | ||
if (fileToSelect) (_this$_recorderApp6 = this._recorderApp) === null || _this$_recorderApp6 === void 0 || _this$_recorderApp6.setRunningFile(fileToSelect); | ||
} | ||
@@ -290,0 +291,0 @@ _pushAllSources() { |
@@ -40,3 +40,3 @@ "use strict"; | ||
async setMode(mode) {} | ||
async setFile(file) {} | ||
async setRunningFile(file) {} | ||
async setSelector(selector, userGesture) {} | ||
@@ -142,5 +142,5 @@ async updateCallLogs(callLogs) {} | ||
} | ||
async setFile(file) { | ||
async setRunningFile(file) { | ||
await this._page.mainFrame().evaluateExpression((file => { | ||
window.playwrightSetFile(file); | ||
window.playwrightSetRunningFile(file); | ||
}).toString(), { | ||
@@ -147,0 +147,0 @@ isFunction: true |
@@ -75,4 +75,4 @@ "use strict"; | ||
} | ||
async setFile(file) { | ||
this._transport.deliverEvent('setFileIfNeeded', { | ||
async setRunningFile(file) { | ||
this._transport.deliverEvent('setRunningFile', { | ||
file | ||
@@ -79,0 +79,0 @@ }); |
{ | ||
"name": "playwright-core", | ||
"version": "1.48.0-beta-1728916380000", | ||
"version": "1.48.0-beta-1728939942000", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7701092
108828