@veolab/discoverylab 1.1.1 → 1.2.1

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.
Files changed (62) hide show
  1. package/dist/chunk-24VARQVO.js +7818 -0
  2. package/dist/chunk-2OGZX6C4.js +588 -0
  3. package/dist/chunk-43U6UYV7.js +590 -0
  4. package/dist/chunk-4H2E3K2G.js +7638 -0
  5. package/dist/chunk-4KLG6DDE.js +334 -0
  6. package/dist/chunk-4NNTRJOI.js +7791 -0
  7. package/dist/chunk-5F76VWME.js +6397 -0
  8. package/dist/chunk-5NEFN42O.js +7791 -0
  9. package/dist/chunk-63MEQ6UH.js +7673 -0
  10. package/dist/chunk-C7QUR7XX.js +6397 -0
  11. package/dist/chunk-GGJJUCFK.js +7160 -0
  12. package/dist/chunk-GLHOY3NN.js +7805 -0
  13. package/dist/chunk-GSWHWEYC.js +1346 -0
  14. package/dist/chunk-HDKEQOF5.js +7788 -0
  15. package/dist/chunk-HZGSWVVS.js +7111 -0
  16. package/dist/chunk-I6YD3QFM.js +500 -0
  17. package/dist/chunk-KV7KDJ43.js +7639 -0
  18. package/dist/chunk-L4SA5F5W.js +6397 -0
  19. package/dist/chunk-MJS2YKNR.js +6397 -0
  20. package/dist/chunk-NDBW6ELQ.js +7638 -0
  21. package/dist/chunk-P4S7ZY6G.js +7638 -0
  22. package/dist/chunk-PMTGGZ7R.js +6397 -0
  23. package/dist/chunk-PYUCY3U6.js +1340 -0
  24. package/dist/chunk-RDZDSOAL.js +7750 -0
  25. package/dist/chunk-SLNJEF32.js +91 -0
  26. package/dist/chunk-SR67SRIT.js +1336 -0
  27. package/dist/chunk-TAODYZ52.js +1393 -0
  28. package/dist/chunk-TBG76CYG.js +6395 -0
  29. package/dist/chunk-TJ3H23LL.js +362 -0
  30. package/dist/chunk-XIBF5LBD.js +6395 -0
  31. package/dist/chunk-XUKWS2CE.js +7805 -0
  32. package/dist/cli.js +6 -6
  33. package/dist/db-ADBEBNH6.js +35 -0
  34. package/dist/index.d.ts +170 -1
  35. package/dist/index.html +1019 -84
  36. package/dist/index.js +9 -7
  37. package/dist/playwright-ATDC4NYW.js +38 -0
  38. package/dist/playwright-E6EUFIJG.js +38 -0
  39. package/dist/playwright-R7Y5HREH.js +39 -0
  40. package/dist/server-2VKO76UK.js +14 -0
  41. package/dist/server-3BK2VFU7.js +13 -0
  42. package/dist/server-6IPHVUYT.js +14 -0
  43. package/dist/server-73P7M3QB.js +14 -0
  44. package/dist/server-BPVRW5LJ.js +14 -0
  45. package/dist/server-IOOZK4NP.js +14 -0
  46. package/dist/server-JG7UKFGK.js +14 -0
  47. package/dist/server-NPZN3FWO.js +14 -0
  48. package/dist/server-O5FIAHSY.js +14 -0
  49. package/dist/server-P27BZXBL.js +14 -0
  50. package/dist/server-S6B5WUBT.js +14 -0
  51. package/dist/server-SRYNSGSP.js +14 -0
  52. package/dist/server-X3TLP6DX.js +14 -0
  53. package/dist/server-ZBPQ33V6.js +14 -0
  54. package/dist/setup-AQX4JQVR.js +17 -0
  55. package/dist/tools-2KPB37GK.js +178 -0
  56. package/dist/tools-3H6IOWXV.js +178 -0
  57. package/dist/tools-BUVCUCRL.js +178 -0
  58. package/dist/tools-HDNODRS6.js +178 -0
  59. package/dist/tools-L6PKKQPY.js +179 -0
  60. package/dist/tools-N5N2IO7V.js +178 -0
  61. package/dist/tools-TLCKABUW.js +178 -0
  62. package/package.json +1 -1
@@ -0,0 +1,500 @@
1
+ import {
2
+ redactSensitiveTestInput
3
+ } from "./chunk-SLNJEF32.js";
4
+ import {
5
+ PROJECTS_DIR
6
+ } from "./chunk-VY3BLXBW.js";
7
+
8
+ // src/core/testing/playwright.ts
9
+ import { exec, spawn } from "child_process";
10
+ import { promisify } from "util";
11
+ import * as fs from "fs";
12
+ import * as path from "path";
13
+ import { createRequire } from "module";
14
+ var execAsync = promisify(exec);
15
+ var requireFromHere = createRequire(import.meta.url);
16
+ function resolveInstalledPlaywrightVersion() {
17
+ try {
18
+ const pkgPath = requireFromHere.resolve("playwright/package.json");
19
+ const raw = fs.readFileSync(pkgPath, "utf-8");
20
+ const pkg = JSON.parse(raw);
21
+ return typeof pkg.version === "string" && pkg.version.trim() ? pkg.version.trim() : "installed";
22
+ } catch {
23
+ return null;
24
+ }
25
+ }
26
+ async function isPlaywrightInstalled() {
27
+ return !!resolveInstalledPlaywrightVersion();
28
+ }
29
+ async function getPlaywrightVersion() {
30
+ return resolveInstalledPlaywrightVersion();
31
+ }
32
+ async function installPlaywrightBrowsers() {
33
+ try {
34
+ await execAsync("npx playwright install");
35
+ return { success: true };
36
+ } catch (error) {
37
+ return {
38
+ success: false,
39
+ error: error instanceof Error ? error.message : String(error)
40
+ };
41
+ }
42
+ }
43
+ var BrowserDevices = {
44
+ "Desktop Chrome": {
45
+ name: "Desktop Chrome",
46
+ viewport: { width: 1280, height: 720 },
47
+ userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
48
+ deviceScaleFactor: 1,
49
+ isMobile: false,
50
+ hasTouch: false
51
+ },
52
+ "Desktop Safari": {
53
+ name: "Desktop Safari",
54
+ viewport: { width: 1280, height: 720 },
55
+ userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15",
56
+ deviceScaleFactor: 1,
57
+ isMobile: false,
58
+ hasTouch: false
59
+ },
60
+ "iPhone 15 Pro": {
61
+ name: "iPhone 15 Pro",
62
+ viewport: { width: 393, height: 852 },
63
+ userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1",
64
+ deviceScaleFactor: 3,
65
+ isMobile: true,
66
+ hasTouch: true
67
+ },
68
+ "iPhone 14": {
69
+ name: "iPhone 14",
70
+ viewport: { width: 390, height: 844 },
71
+ userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Mobile/15E148 Safari/604.1",
72
+ deviceScaleFactor: 3,
73
+ isMobile: true,
74
+ hasTouch: true
75
+ },
76
+ "Pixel 8": {
77
+ name: "Pixel 8",
78
+ viewport: { width: 412, height: 915 },
79
+ userAgent: "Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36",
80
+ deviceScaleFactor: 2.625,
81
+ isMobile: true,
82
+ hasTouch: true
83
+ },
84
+ "iPad Pro 12.9": {
85
+ name: "iPad Pro 12.9",
86
+ viewport: { width: 1024, height: 1366 },
87
+ userAgent: "Mozilla/5.0 (iPad; CPU OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1",
88
+ deviceScaleFactor: 2,
89
+ isMobile: true,
90
+ hasTouch: true
91
+ }
92
+ };
93
+ function listBrowserDevices() {
94
+ return Object.values(BrowserDevices);
95
+ }
96
+ function getBrowserDevice(name) {
97
+ return BrowserDevices[name] || null;
98
+ }
99
+ function generatePlaywrightScript(script) {
100
+ const { name, baseURL, viewport, actions } = script;
101
+ const lines = [
102
+ "import { test, expect } from '@playwright/test';",
103
+ ""
104
+ ];
105
+ lines.push(`test('${name || "Generated Test"}', async ({ page }) => {`);
106
+ if (viewport) {
107
+ lines.push(` await page.setViewportSize({ width: ${viewport.width}, height: ${viewport.height} });`);
108
+ }
109
+ if (baseURL) {
110
+ lines.push(` await page.goto('${baseURL}');`);
111
+ }
112
+ for (const action of actions) {
113
+ const code = generateActionCode(action);
114
+ if (code) {
115
+ lines.push(` ${code}`);
116
+ }
117
+ }
118
+ lines.push("});");
119
+ lines.push("");
120
+ return lines.join("\n");
121
+ }
122
+ function generateActionCode(action) {
123
+ const { type, selector, value, url, key, options } = action;
124
+ switch (type) {
125
+ case "goto":
126
+ return `await page.goto('${url || ""}');`;
127
+ case "click":
128
+ if (!selector) return null;
129
+ return `await page.click('${selector}');`;
130
+ case "fill":
131
+ if (!selector) return null;
132
+ return `await page.fill('${selector}', '${redactSensitiveTestInput(String(value || ""), { actionType: "fill", selector })}');`;
133
+ case "type":
134
+ if (!selector) return null;
135
+ return `await page.type('${selector}', '${redactSensitiveTestInput(String(value || ""), { actionType: "type", selector })}');`;
136
+ case "press":
137
+ if (!selector) return null;
138
+ return `await page.press('${selector}', '${key || "Enter"}');`;
139
+ case "check":
140
+ if (!selector) return null;
141
+ return `await page.check('${selector}');`;
142
+ case "uncheck":
143
+ if (!selector) return null;
144
+ return `await page.uncheck('${selector}');`;
145
+ case "selectOption":
146
+ if (!selector) return null;
147
+ return `await page.selectOption('${selector}', '${value || ""}');`;
148
+ case "hover":
149
+ if (!selector) return null;
150
+ return `await page.hover('${selector}');`;
151
+ case "focus":
152
+ if (!selector) return null;
153
+ return `await page.focus('${selector}');`;
154
+ case "screenshot":
155
+ return `await page.screenshot({ path: '${value || "screenshot.png"}' });`;
156
+ case "wait":
157
+ return `await page.waitForTimeout(${value || 1e3});`;
158
+ case "waitForSelector":
159
+ if (!selector) return null;
160
+ return `await page.waitForSelector('${selector}');`;
161
+ case "waitForURL":
162
+ return `await page.waitForURL('${url || ""}');`;
163
+ case "expectVisible":
164
+ if (!selector) return null;
165
+ return `await expect(page.locator('${selector}')).toBeVisible();`;
166
+ case "expectHidden":
167
+ if (!selector) return null;
168
+ return `await expect(page.locator('${selector}')).toBeHidden();`;
169
+ case "expectText":
170
+ if (!selector) return null;
171
+ return `await expect(page.locator('${selector}')).toHaveText('${value || ""}');`;
172
+ case "expectURL":
173
+ return `await expect(page).toHaveURL('${url || ""}');`;
174
+ case "expectTitle":
175
+ return `await expect(page).toHaveTitle('${value || ""}');`;
176
+ case "scroll":
177
+ if (selector) {
178
+ return `await page.locator('${selector}').scrollIntoViewIfNeeded();`;
179
+ }
180
+ return `await page.evaluate(() => window.scrollBy(0, ${value || 500}));`;
181
+ case "evaluate":
182
+ return `await page.evaluate(() => { ${value || ""} });`;
183
+ default:
184
+ return null;
185
+ }
186
+ }
187
+ var PlaywrightActions = {
188
+ // Navigation
189
+ goto: (url) => ({ type: "goto", url }),
190
+ goBack: () => ({ type: "evaluate", value: "history.back()" }),
191
+ goForward: () => ({ type: "evaluate", value: "history.forward()" }),
192
+ reload: () => ({ type: "evaluate", value: "location.reload()" }),
193
+ // Interactions
194
+ click: (selector) => ({ type: "click", selector }),
195
+ fill: (selector, value) => ({ type: "fill", selector, value }),
196
+ type: (selector, value) => ({ type: "type", selector, value }),
197
+ press: (selector, key) => ({ type: "press", selector, key }),
198
+ check: (selector) => ({ type: "check", selector }),
199
+ uncheck: (selector) => ({ type: "uncheck", selector }),
200
+ selectOption: (selector, value) => ({ type: "selectOption", selector, value }),
201
+ hover: (selector) => ({ type: "hover", selector }),
202
+ focus: (selector) => ({ type: "focus", selector }),
203
+ // Waiting
204
+ wait: (ms) => ({ type: "wait", value: String(ms) }),
205
+ waitForSelector: (selector) => ({ type: "waitForSelector", selector }),
206
+ waitForURL: (url) => ({ type: "waitForURL", url }),
207
+ // Screenshots
208
+ screenshot: (path2) => ({ type: "screenshot", value: path2 }),
209
+ // Scrolling
210
+ scroll: (pixels) => ({ type: "scroll", value: String(pixels || 500) }),
211
+ scrollToElement: (selector) => ({ type: "scroll", selector }),
212
+ // Assertions
213
+ expectVisible: (selector) => ({ type: "expectVisible", selector }),
214
+ expectHidden: (selector) => ({ type: "expectHidden", selector }),
215
+ expectText: (selector, text) => ({ type: "expectText", selector, value: text }),
216
+ expectURL: (url) => ({ type: "expectURL", url }),
217
+ expectTitle: (title) => ({ type: "expectTitle", value: title }),
218
+ // Custom
219
+ evaluate: (code) => ({ type: "evaluate", value: code })
220
+ };
221
+ async function runPlaywrightTest(options) {
222
+ const installed = await isPlaywrightInstalled();
223
+ if (!installed) {
224
+ return {
225
+ success: false,
226
+ error: "Playwright is not installed. Install with: npm install -D @playwright/test && npx playwright install"
227
+ };
228
+ }
229
+ const {
230
+ testPath,
231
+ testPattern,
232
+ config = {},
233
+ outputDir = path.join(PROJECTS_DIR, "playwright-output", Date.now().toString()),
234
+ project,
235
+ workers = 1,
236
+ retries = 0,
237
+ reporter = "json"
238
+ } = options;
239
+ await fs.promises.mkdir(outputDir, { recursive: true });
240
+ const startTime = Date.now();
241
+ const args = ["playwright", "test"];
242
+ if (testPath) {
243
+ args.push(testPath);
244
+ }
245
+ if (testPattern) {
246
+ args.push("-g", testPattern);
247
+ }
248
+ if (project) {
249
+ args.push("--project", project);
250
+ }
251
+ args.push("--workers", workers.toString());
252
+ if (retries > 0) {
253
+ args.push("--retries", retries.toString());
254
+ }
255
+ args.push("--reporter", reporter);
256
+ args.push("--output", outputDir);
257
+ if (config.browser) {
258
+ args.push("--browser", config.browser);
259
+ }
260
+ if (config.headless === false) {
261
+ args.push("--headed");
262
+ }
263
+ try {
264
+ const { stdout, stderr } = await execAsync(`npx ${args.join(" ")}`, {
265
+ timeout: config.timeout || 3e5,
266
+ cwd: process.cwd()
267
+ });
268
+ const duration = Date.now() - startTime;
269
+ let passed = 0;
270
+ let failed = 0;
271
+ let skipped = 0;
272
+ const passedMatch = stdout.match(/(\d+) passed/);
273
+ const failedMatch = stdout.match(/(\d+) failed/);
274
+ const skippedMatch = stdout.match(/(\d+) skipped/);
275
+ if (passedMatch) passed = parseInt(passedMatch[1], 10);
276
+ if (failedMatch) failed = parseInt(failedMatch[1], 10);
277
+ if (skippedMatch) skipped = parseInt(skippedMatch[1], 10);
278
+ const videos = [];
279
+ const screenshots = [];
280
+ const traces = [];
281
+ if (fs.existsSync(outputDir)) {
282
+ const collectArtifacts = async (dir) => {
283
+ const files = await fs.promises.readdir(dir, { withFileTypes: true });
284
+ for (const file of files) {
285
+ const filePath = path.join(dir, file.name);
286
+ if (file.isDirectory()) {
287
+ await collectArtifacts(filePath);
288
+ } else if (file.name.endsWith(".webm") || file.name.endsWith(".mp4")) {
289
+ videos.push(filePath);
290
+ } else if (file.name.endsWith(".png")) {
291
+ screenshots.push(filePath);
292
+ } else if (file.name.endsWith(".zip") && file.name.includes("trace")) {
293
+ traces.push(filePath);
294
+ }
295
+ }
296
+ };
297
+ await collectArtifacts(outputDir);
298
+ }
299
+ return {
300
+ success: failed === 0,
301
+ duration,
302
+ passed,
303
+ failed,
304
+ skipped,
305
+ output: stdout + stderr,
306
+ reportPath: path.join(outputDir, "report.json"),
307
+ videos,
308
+ screenshots,
309
+ traces
310
+ };
311
+ } catch (error) {
312
+ const duration = Date.now() - startTime;
313
+ const message = error instanceof Error ? error.message : String(error);
314
+ let passed = 0;
315
+ let failed = 0;
316
+ let skipped = 0;
317
+ const passedMatch = message.match(/(\d+) passed/);
318
+ const failedMatch = message.match(/(\d+) failed/);
319
+ const skippedMatch = message.match(/(\d+) skipped/);
320
+ if (passedMatch) passed = parseInt(passedMatch[1], 10);
321
+ if (failedMatch) failed = parseInt(failedMatch[1], 10);
322
+ if (skippedMatch) skipped = parseInt(skippedMatch[1], 10);
323
+ return {
324
+ success: false,
325
+ error: message,
326
+ duration,
327
+ passed,
328
+ failed,
329
+ skipped,
330
+ output: message
331
+ };
332
+ }
333
+ }
334
+ async function runPlaywrightScript(script, options = {}) {
335
+ const outputDir = options.outputDir || path.join(PROJECTS_DIR, "playwright-output", Date.now().toString());
336
+ await fs.promises.mkdir(outputDir, { recursive: true });
337
+ const scriptContent = generatePlaywrightScript(script);
338
+ const scriptPath = path.join(outputDir, "test.spec.ts");
339
+ await fs.promises.writeFile(scriptPath, scriptContent);
340
+ const configContent = `
341
+ import { defineConfig } from '@playwright/test';
342
+
343
+ export default defineConfig({
344
+ testDir: '.',
345
+ timeout: ${options.config?.timeout || 3e4},
346
+ use: {
347
+ headless: ${options.config?.headless !== false},
348
+ video: '${options.config?.video || "off"}',
349
+ screenshot: '${options.config?.screenshot || "off"}',
350
+ trace: '${options.config?.trace || "off"}',
351
+ ${script.baseURL ? `baseURL: '${script.baseURL}',` : ""}
352
+ ${script.viewport ? `viewport: { width: ${script.viewport.width}, height: ${script.viewport.height} },` : ""}
353
+ },
354
+ reporter: [['json', { outputFile: 'report.json' }]],
355
+ outputDir: './results',
356
+ });
357
+ `;
358
+ const configPath = path.join(outputDir, "playwright.config.ts");
359
+ await fs.promises.writeFile(configPath, configContent);
360
+ return runPlaywrightTest({
361
+ ...options,
362
+ testPath: scriptPath,
363
+ outputDir
364
+ });
365
+ }
366
+ async function savePlaywrightScript(script, outputPath) {
367
+ const content = generatePlaywrightScript(script);
368
+ const filePath = outputPath || path.join(
369
+ PROJECTS_DIR,
370
+ "scripts",
371
+ `${script.name?.replace(/\s+/g, "_") || "test"}_${Date.now()}.spec.ts`
372
+ );
373
+ await fs.promises.mkdir(path.dirname(filePath), { recursive: true });
374
+ await fs.promises.writeFile(filePath, content);
375
+ return filePath;
376
+ }
377
+ async function startPlaywrightCodegen(url, options = {}) {
378
+ const installed = await isPlaywrightInstalled();
379
+ if (!installed) {
380
+ return {
381
+ success: false,
382
+ error: "Playwright is not installed"
383
+ };
384
+ }
385
+ try {
386
+ const args = ["playwright", "codegen"];
387
+ if (options.browser) {
388
+ args.push("--browser", options.browser);
389
+ }
390
+ if (options.device) {
391
+ args.push("--device", `"${options.device}"`);
392
+ }
393
+ if (options.outputPath) {
394
+ args.push("-o", options.outputPath);
395
+ }
396
+ if (url) {
397
+ args.push(url);
398
+ }
399
+ spawn("npx", args, {
400
+ detached: true,
401
+ stdio: "ignore",
402
+ shell: true
403
+ }).unref();
404
+ return { success: true };
405
+ } catch (error) {
406
+ return {
407
+ success: false,
408
+ error: error instanceof Error ? error.message : String(error)
409
+ };
410
+ }
411
+ }
412
+ async function showPlaywrightReport(reportDir) {
413
+ const installed = await isPlaywrightInstalled();
414
+ if (!installed) {
415
+ return {
416
+ success: false,
417
+ error: "Playwright is not installed"
418
+ };
419
+ }
420
+ try {
421
+ const args = ["playwright", "show-report"];
422
+ if (reportDir) {
423
+ args.push(reportDir);
424
+ }
425
+ spawn("npx", args, {
426
+ detached: true,
427
+ stdio: "ignore",
428
+ shell: true
429
+ }).unref();
430
+ return { success: true };
431
+ } catch (error) {
432
+ return {
433
+ success: false,
434
+ error: error instanceof Error ? error.message : String(error)
435
+ };
436
+ }
437
+ }
438
+ function createLoginScript(baseURL, usernameSelector, passwordSelector, submitSelector, successURL) {
439
+ return {
440
+ name: "Login Test",
441
+ baseURL,
442
+ actions: [
443
+ PlaywrightActions.goto(baseURL),
444
+ PlaywrightActions.fill(usernameSelector, "${USERNAME}"),
445
+ PlaywrightActions.fill(passwordSelector, "${PASSWORD}"),
446
+ PlaywrightActions.click(submitSelector),
447
+ PlaywrightActions.waitForURL(successURL),
448
+ PlaywrightActions.expectURL(successURL),
449
+ PlaywrightActions.screenshot("login-success.png")
450
+ ]
451
+ };
452
+ }
453
+ function createNavigationScript(baseURL, links) {
454
+ const actions = [PlaywrightActions.goto(baseURL)];
455
+ for (const link of links) {
456
+ actions.push(PlaywrightActions.click(link.selector));
457
+ actions.push(PlaywrightActions.waitForURL(link.expectedURL));
458
+ actions.push(PlaywrightActions.screenshot(`${link.name}.png`));
459
+ actions.push(PlaywrightActions.goBack());
460
+ }
461
+ return {
462
+ name: "Navigation Test",
463
+ baseURL,
464
+ actions
465
+ };
466
+ }
467
+ function createFormSubmissionScript(baseURL, formFields, submitSelector, successIndicator) {
468
+ const actions = [PlaywrightActions.goto(baseURL)];
469
+ for (const field of formFields) {
470
+ actions.push(PlaywrightActions.fill(field.selector, field.value));
471
+ }
472
+ actions.push(PlaywrightActions.click(submitSelector));
473
+ actions.push(PlaywrightActions.waitForSelector(successIndicator));
474
+ actions.push(PlaywrightActions.expectVisible(successIndicator));
475
+ actions.push(PlaywrightActions.screenshot("form-success.png"));
476
+ return {
477
+ name: "Form Submission Test",
478
+ baseURL,
479
+ actions
480
+ };
481
+ }
482
+
483
+ export {
484
+ isPlaywrightInstalled,
485
+ getPlaywrightVersion,
486
+ installPlaywrightBrowsers,
487
+ BrowserDevices,
488
+ listBrowserDevices,
489
+ getBrowserDevice,
490
+ generatePlaywrightScript,
491
+ PlaywrightActions,
492
+ runPlaywrightTest,
493
+ runPlaywrightScript,
494
+ savePlaywrightScript,
495
+ startPlaywrightCodegen,
496
+ showPlaywrightReport,
497
+ createLoginScript,
498
+ createNavigationScript,
499
+ createFormSubmissionScript
500
+ };