@cotestdev/mcp_playwright 0.0.27 → 0.0.28
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.
|
@@ -33,6 +33,7 @@ __export(runCode_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(runCode_exports);
|
|
34
34
|
var import_vm = __toESM(require("vm"));
|
|
35
35
|
var import_utils = require("playwright-core/lib/utils");
|
|
36
|
+
var import_test = require("playwright/test");
|
|
36
37
|
var import_mcpBundle = require("../../../mcpBundleImpl");
|
|
37
38
|
var import_tool = require("./tool");
|
|
38
39
|
var import_common = require("./common");
|
|
@@ -92,6 +93,7 @@ const runScript = (0, import_tool.defineTabTool)({
|
|
|
92
93
|
const __end__ = new import_utils.ManualPromise();
|
|
93
94
|
const context = {
|
|
94
95
|
page: tab.page,
|
|
96
|
+
expect: import_test.expect,
|
|
95
97
|
__end__
|
|
96
98
|
};
|
|
97
99
|
if (params.params) {
|