@kogeet/sagent-playwright 0.2.6 → 0.2.7

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 (2) hide show
  1. package/bin/index.js +4 -1
  2. package/package.json +3 -3
package/bin/index.js CHANGED
@@ -1,11 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  // La ligne ci-dessus est requise pour que la commande sagent-playwright fonctionne
3
3
  // après installation du package en global
4
- import { sagent } from "@kogeet/scapin-core-agent";
5
4
  import * as fs from "fs";
5
+ import { sagent } from "@kogeet/scapin-core-agent";
6
6
  import BrowserLib from "./libs/BrowserLib.js";
7
7
  import StdLib from "./libs/StdLib.js";
8
8
  import DatasetEntryPoints from "@kogeet/sagent-plugin-dataset";
9
+ // import {parseParam} from "@kogeet/sapi-parser";
10
+ // const r = parseParam('"text"', 'Text')
11
+ // console.log('result:', r)
9
12
  const loadJSON = (path) => JSON.parse(fs.readFileSync(new URL(path, import.meta.url)).toString());
10
13
  const pjson = loadJSON('../package.json');
11
14
  // Librairies prises en charge
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kogeet/sagent-playwright",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Scapin Agent for Playwright",
5
5
  "main": "bin/index.js",
6
6
  "publishConfig": {
@@ -17,8 +17,8 @@
17
17
  "author": "Loïc Griveau",
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@kogeet/sagent-plugin-dataset": "^0.1.3",
21
- "@kogeet/scapin-core-agent": "^0.1.7",
20
+ "@kogeet/sagent-plugin-dataset": "^0.1.4",
21
+ "@kogeet/scapin-core-agent": "^0.1.8",
22
22
  "@playwright/browser-chromium": "^1.58.2",
23
23
  "@playwright/browser-firefox": "^1.58.2",
24
24
  "@playwright/browser-webkit": "^1.58.2",