|
f7eb47b…
|
lmata
|
1 |
"use strict"; |
|
f7eb47b…
|
lmata
|
2 |
var __create = Object.create; |
|
f7eb47b…
|
lmata
|
3 |
var __defProp = Object.defineProperty; |
|
f7eb47b…
|
lmata
|
4 |
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; |
|
f7eb47b…
|
lmata
|
5 |
var __getOwnPropNames = Object.getOwnPropertyNames; |
|
f7eb47b…
|
lmata
|
6 |
var __getProtoOf = Object.getPrototypeOf; |
|
f7eb47b…
|
lmata
|
7 |
var __hasOwnProp = Object.prototype.hasOwnProperty; |
|
f7eb47b…
|
lmata
|
8 |
var __export = (target, all) => { |
|
f7eb47b…
|
lmata
|
9 |
for (var name in all) |
|
f7eb47b…
|
lmata
|
10 |
__defProp(target, name, { get: all[name], enumerable: true }); |
|
f7eb47b…
|
lmata
|
11 |
}; |
|
f7eb47b…
|
lmata
|
12 |
var __copyProps = (to, from, except, desc) => { |
|
f7eb47b…
|
lmata
|
13 |
if (from && typeof from === "object" || typeof from === "function") { |
|
f7eb47b…
|
lmata
|
14 |
for (let key of __getOwnPropNames(from)) |
|
f7eb47b…
|
lmata
|
15 |
if (!__hasOwnProp.call(to, key) && key !== except) |
|
f7eb47b…
|
lmata
|
16 |
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); |
|
f7eb47b…
|
lmata
|
17 |
} |
|
f7eb47b…
|
lmata
|
18 |
return to; |
|
f7eb47b…
|
lmata
|
19 |
}; |
|
f7eb47b…
|
lmata
|
20 |
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( |
|
f7eb47b…
|
lmata
|
21 |
// If the importer is in node compatibility mode or this is not an ESM |
|
f7eb47b…
|
lmata
|
22 |
// file that has been converted to a CommonJS file using a Babel- |
|
f7eb47b…
|
lmata
|
23 |
// compatible transform (i.e. "__esModule" has not been set), then set |
|
f7eb47b…
|
lmata
|
24 |
// "default" to the CommonJS "module.exports" for node compatibility. |
|
f7eb47b…
|
lmata
|
25 |
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, |
|
f7eb47b…
|
lmata
|
26 |
mod |
|
f7eb47b…
|
lmata
|
27 |
)); |
|
f7eb47b…
|
lmata
|
28 |
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); |
|
f7eb47b…
|
lmata
|
29 |
var tools_exports = {}; |
|
f7eb47b…
|
lmata
|
30 |
__export(tools_exports, { |
|
f7eb47b…
|
lmata
|
31 |
browserTools: () => browserTools, |
|
f7eb47b…
|
lmata
|
32 |
filteredTools: () => filteredTools |
|
f7eb47b…
|
lmata
|
33 |
}); |
|
f7eb47b…
|
lmata
|
34 |
module.exports = __toCommonJS(tools_exports); |
|
f7eb47b…
|
lmata
|
35 |
var import_common = __toESM(require("./tools/common")); |
|
f7eb47b…
|
lmata
|
36 |
var import_console = __toESM(require("./tools/console")); |
|
f7eb47b…
|
lmata
|
37 |
var import_dialogs = __toESM(require("./tools/dialogs")); |
|
f7eb47b…
|
lmata
|
38 |
var import_evaluate = __toESM(require("./tools/evaluate")); |
|
f7eb47b…
|
lmata
|
39 |
var import_files = __toESM(require("./tools/files")); |
|
f7eb47b…
|
lmata
|
40 |
var import_form = __toESM(require("./tools/form")); |
|
f7eb47b…
|
lmata
|
41 |
var import_install = __toESM(require("./tools/install")); |
|
f7eb47b…
|
lmata
|
42 |
var import_keyboard = __toESM(require("./tools/keyboard")); |
|
f7eb47b…
|
lmata
|
43 |
var import_mouse = __toESM(require("./tools/mouse")); |
|
f7eb47b…
|
lmata
|
44 |
var import_navigate = __toESM(require("./tools/navigate")); |
|
f7eb47b…
|
lmata
|
45 |
var import_network = __toESM(require("./tools/network")); |
|
f7eb47b…
|
lmata
|
46 |
var import_open = __toESM(require("./tools/open")); |
|
f7eb47b…
|
lmata
|
47 |
var import_pdf = __toESM(require("./tools/pdf")); |
|
f7eb47b…
|
lmata
|
48 |
var import_runCode = __toESM(require("./tools/runCode")); |
|
f7eb47b…
|
lmata
|
49 |
var import_snapshot = __toESM(require("./tools/snapshot")); |
|
f7eb47b…
|
lmata
|
50 |
var import_screenshot = __toESM(require("./tools/screenshot")); |
|
f7eb47b…
|
lmata
|
51 |
var import_tabs = __toESM(require("./tools/tabs")); |
|
f7eb47b…
|
lmata
|
52 |
var import_tracing = __toESM(require("./tools/tracing")); |
|
f7eb47b…
|
lmata
|
53 |
var import_wait = __toESM(require("./tools/wait")); |
|
f7eb47b…
|
lmata
|
54 |
var import_verify = __toESM(require("./tools/verify")); |
|
f7eb47b…
|
lmata
|
55 |
const browserTools = [ |
|
f7eb47b…
|
lmata
|
56 |
...import_common.default, |
|
f7eb47b…
|
lmata
|
57 |
...import_console.default, |
|
f7eb47b…
|
lmata
|
58 |
...import_dialogs.default, |
|
f7eb47b…
|
lmata
|
59 |
...import_evaluate.default, |
|
f7eb47b…
|
lmata
|
60 |
...import_files.default, |
|
f7eb47b…
|
lmata
|
61 |
...import_form.default, |
|
f7eb47b…
|
lmata
|
62 |
...import_install.default, |
|
f7eb47b…
|
lmata
|
63 |
...import_keyboard.default, |
|
f7eb47b…
|
lmata
|
64 |
...import_mouse.default, |
|
f7eb47b…
|
lmata
|
65 |
...import_navigate.default, |
|
f7eb47b…
|
lmata
|
66 |
...import_network.default, |
|
f7eb47b…
|
lmata
|
67 |
...import_open.default, |
|
f7eb47b…
|
lmata
|
68 |
...import_pdf.default, |
|
f7eb47b…
|
lmata
|
69 |
...import_runCode.default, |
|
f7eb47b…
|
lmata
|
70 |
...import_screenshot.default, |
|
f7eb47b…
|
lmata
|
71 |
...import_snapshot.default, |
|
f7eb47b…
|
lmata
|
72 |
...import_tabs.default, |
|
f7eb47b…
|
lmata
|
73 |
...import_tracing.default, |
|
f7eb47b…
|
lmata
|
74 |
...import_wait.default, |
|
f7eb47b…
|
lmata
|
75 |
...import_verify.default |
|
f7eb47b…
|
lmata
|
76 |
]; |
|
f7eb47b…
|
lmata
|
77 |
function filteredTools(config) { |
|
f7eb47b…
|
lmata
|
78 |
return browserTools.filter((tool) => tool.capability.startsWith("core") || config.capabilities?.includes(tool.capability)); |
|
f7eb47b…
|
lmata
|
79 |
} |
|
f7eb47b…
|
lmata
|
80 |
// Annotate the CommonJS export names for ESM import in node: |
|
f7eb47b…
|
lmata
|
81 |
0 && (module.exports = { |
|
f7eb47b…
|
lmata
|
82 |
browserTools, |
|
f7eb47b…
|
lmata
|
83 |
filteredTools |
|
f7eb47b…
|
lmata
|
84 |
}); |