@empiricalrun/playwright-utils 0.8.6 → 0.9.0

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 (54) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/reporter/custom.d.ts.map +1 -1
  3. package/dist/reporter/custom.js +1 -1
  4. package/dist/reporter/third_party/html-reporter-types.d.ts.map +1 -0
  5. package/dist/test/index.d.ts +3 -2
  6. package/dist/test/index.d.ts.map +1 -1
  7. package/dist/test/scripts/index.d.ts.map +1 -1
  8. package/dist/test/scripts/index.js +5 -0
  9. package/dist/test/scripts/locator-highlights.js +8 -8
  10. package/dist/test/scripts/locator-vision.d.ts +3 -0
  11. package/dist/test/scripts/locator-vision.d.ts.map +1 -0
  12. package/dist/test/scripts/locator-vision.js +9 -0
  13. package/dist/test/scripts/pw-locator-patch/highlight/expect.d.ts.map +1 -0
  14. package/dist/test/scripts/pw-locator-patch/{expect.js → highlight/expect.js} +1 -1
  15. package/dist/test/scripts/pw-locator-patch/highlight/hover.d.ts.map +1 -0
  16. package/dist/test/scripts/pw-locator-patch/{hover.js → highlight/hover.js} +1 -1
  17. package/dist/test/scripts/pw-locator-patch/highlight/inner-text.d.ts.map +1 -0
  18. package/dist/test/scripts/pw-locator-patch/{inner-text.js → highlight/inner-text.js} +1 -1
  19. package/dist/test/scripts/pw-locator-patch/highlight/input-value.d.ts.map +1 -0
  20. package/dist/test/scripts/pw-locator-patch/{input-value.js → highlight/input-value.js} +1 -1
  21. package/dist/test/scripts/pw-locator-patch/highlight/is-checked.d.ts.map +1 -0
  22. package/dist/test/scripts/pw-locator-patch/{is-checked.js → highlight/is-checked.js} +1 -1
  23. package/dist/test/scripts/pw-locator-patch/highlight/is-disabled.d.ts.map +1 -0
  24. package/dist/test/scripts/pw-locator-patch/{is-disabled.js → highlight/is-disabled.js} +1 -1
  25. package/dist/test/scripts/pw-locator-patch/highlight/is-editable.d.ts.map +1 -0
  26. package/dist/test/scripts/pw-locator-patch/{is-editable.js → highlight/is-editable.js} +1 -1
  27. package/dist/test/scripts/pw-locator-patch/highlight/text-content.d.ts.map +1 -0
  28. package/dist/test/scripts/pw-locator-patch/{text-content.js → highlight/text-content.js} +1 -1
  29. package/dist/test/scripts/pw-locator-patch/vision/query.d.ts +5 -0
  30. package/dist/test/scripts/pw-locator-patch/vision/query.d.ts.map +1 -0
  31. package/dist/test/scripts/pw-locator-patch/vision/query.js +13 -0
  32. package/dist/test/types.d.ts +44 -0
  33. package/dist/test/types.d.ts.map +1 -0
  34. package/dist/test/types.js +2 -0
  35. package/package.json +2 -2
  36. package/dist/test/scripts/pw-locator-patch/expect.d.ts.map +0 -1
  37. package/dist/test/scripts/pw-locator-patch/hover.d.ts.map +0 -1
  38. package/dist/test/scripts/pw-locator-patch/inner-text.d.ts.map +0 -1
  39. package/dist/test/scripts/pw-locator-patch/input-value.d.ts.map +0 -1
  40. package/dist/test/scripts/pw-locator-patch/is-checked.d.ts.map +0 -1
  41. package/dist/test/scripts/pw-locator-patch/is-disabled.d.ts.map +0 -1
  42. package/dist/test/scripts/pw-locator-patch/is-editable.d.ts.map +0 -1
  43. package/dist/test/scripts/pw-locator-patch/text-content.d.ts.map +0 -1
  44. package/dist/third_party/html-reporter-types.d.ts.map +0 -1
  45. /package/dist/{third_party → reporter/third_party}/html-reporter-types.d.ts +0 -0
  46. /package/dist/{third_party → reporter/third_party}/html-reporter-types.js +0 -0
  47. /package/dist/test/scripts/pw-locator-patch/{expect.d.ts → highlight/expect.d.ts} +0 -0
  48. /package/dist/test/scripts/pw-locator-patch/{hover.d.ts → highlight/hover.d.ts} +0 -0
  49. /package/dist/test/scripts/pw-locator-patch/{inner-text.d.ts → highlight/inner-text.d.ts} +0 -0
  50. /package/dist/test/scripts/pw-locator-patch/{input-value.d.ts → highlight/input-value.d.ts} +0 -0
  51. /package/dist/test/scripts/pw-locator-patch/{is-checked.d.ts → highlight/is-checked.d.ts} +0 -0
  52. /package/dist/test/scripts/pw-locator-patch/{is-disabled.d.ts → highlight/is-disabled.d.ts} +0 -0
  53. /package/dist/test/scripts/pw-locator-patch/{is-editable.d.ts → highlight/is-editable.d.ts} +0 -0
  54. /package/dist/test/scripts/pw-locator-patch/{text-content.d.ts → highlight/text-content.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ddbbcc0: feat: new locator.query method for llm vision
8
+
9
+ ### Patch Changes
10
+
11
+ - 857b22e: chore: move third_party to reporter dir
12
+ - Updated dependencies [3027212]
13
+ - @empiricalrun/llm@0.9.0
14
+
3
15
  ## 0.8.6
4
16
 
5
17
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"custom.d.ts","sourceRoot":"","sources":["../../src/reporter/custom.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAKH,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EAEV,KAAK,EACL,QAAQ,IAAI,cAAc,EAC1B,SAAS,EACT,UAAU,IAAI,gBAAgB,EAE/B,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAML,UAAU,EAMX,MAAM,2BAA2B,CAAC;AA2BnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAsB/C,QAAA,MAAM,iBAAiB,UAAoC,CAAC;AAC5D,KAAK,oBAAoB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAM/D,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MA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mB;gBAE9B,OAAO,EAAE,mBAAmB;IAIxC,aAAa;IAIb,QAAQ;IAER,QAAQ;IAER,WAAW;IAEX,SAAS;IAET,OAAO,IAAI,IAAI;IAIf,WAAW;IAEX,SAAS,CAAC,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,gBAAgB;IA+BxD,WAAW,CAAC,MAAM,EAAE,UAAU;IAI9B,OAAO,CAAC,KAAK,EAAE,KAAK;IAYpB,eAAe,IAAI;QACjB,YAAY,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,oBAAoB,CAAC;QAC3B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;QACzB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B;IAsBD,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO;IASxD,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAIzB,KAAK,CAAC,MAAM,EAAE,UAAU;IAoFxB,MAAM;CA8Bb;AAkCD,wBAAsB,cAAc,CAClC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,IAAI,GAAE,MAAoB,EAC1B,IAAI,CAAC,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM,iBAqBhB;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAsBhE;AAqiBD,eAAe,YAAY,CAAC"}
@@ -128,7 +128,7 @@ class HtmlReporter {
128
128
  this._topLevelErrors.push(error);
129
129
  }
130
130
  async onEnd(result) {
131
- console.log(`Tests ended in ${result.duration / (1000 * 60)} mins`);
131
+ console.log(`Tests ended in ${(result.duration / (1000 * 60)).toFixed(2)} mins`);
132
132
  const projectSuites = this.suite.suites;
133
133
  // Commenting out this line causes the outputs to not get deleted
134
134
  // await removeFolders([this._outputFolder]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html-reporter-types.d.ts","sourceRoot":"","sources":["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,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC;CACtE,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,6 +1,7 @@
1
- import type { PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, TestType } from "@playwright/test";
1
+ import type { PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, TestType } from "@playwright/test";
2
2
  import { injectLocatorHighlightScripts } from "./scripts";
3
- export declare const baseTestFixture: (testFn: TestType<PlaywrightTestArgs & PlaywrightTestOptions, PlaywrightWorkerArgs & PlaywrightWorkerOptions>) => TestType<PlaywrightTestArgs & PlaywrightTestOptions & {
3
+ import { EnhancedPlaywrightTestArgs } from "./types";
4
+ export declare const baseTestFixture: (testFn: TestType<EnhancedPlaywrightTestArgs & PlaywrightTestOptions, PlaywrightWorkerArgs & PlaywrightWorkerOptions>) => TestType<EnhancedPlaywrightTestArgs & PlaywrightTestOptions & {
4
5
  [key: string]: any;
5
6
  }, PlaywrightWorkerArgs & PlaywrightWorkerOptions>;
6
7
  export { injectLocatorHighlightScripts };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/test/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,QAAQ,EACT,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAE1D,eAAO,MAAM,eAAe,WAClB,SACN,kBAAkB,GAAG,qBAAqB,EAC1C,oBAAoB,GAAG,uBAAuB,CAC/C;;kDAQF,CAAC;AAEF,OAAO,EAAE,6BAA6B,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/test/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,QAAQ,EACT,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD,eAAO,MAAM,eAAe,WAClB,SACN,0BAA0B,GAAG,qBAAqB,EAClD,oBAAoB,GAAG,uBAAuB,CAC/C;;kDAQF,CAAC;AAEF,OAAO,EAAE,6BAA6B,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test/scripts/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAK7C,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,QASvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test/scripts/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAM7C,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,QAavD"}
@@ -2,13 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.injectLocatorHighlightScripts = void 0;
4
4
  const locator_highlights_1 = require("./locator-highlights");
5
+ const locator_vision_1 = require("./locator-vision");
5
6
  const mouse_pointer_1 = require("./mouse-pointer");
6
7
  function injectLocatorHighlightScripts(page) {
8
+ // TODO: if this method is used standalone (not through the fixture),
9
+ // then page.locator.query() will throw a type error.
7
10
  try {
8
11
  // pointer highlighter and focus highlighter
9
12
  (0, mouse_pointer_1.addMousePointerHighlighter)(page);
10
13
  // playwright locator highlighter
11
14
  (0, locator_highlights_1.addLocatorHighlights)(page);
15
+ // patch with vision methods
16
+ (0, locator_vision_1.addLocatorVisionMethods)(page);
12
17
  }
13
18
  catch (e) {
14
19
  console.error("Failed to add mouse pointer highlighter", e);
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.addLocatorHighlights = void 0;
4
- const expect_1 = require("./pw-locator-patch/expect");
5
- const hover_1 = require("./pw-locator-patch/hover");
6
- const inner_text_1 = require("./pw-locator-patch/inner-text");
7
- const input_value_1 = require("./pw-locator-patch/input-value");
8
- const is_checked_1 = require("./pw-locator-patch/is-checked");
9
- const is_disabled_1 = require("./pw-locator-patch/is-disabled");
10
- const is_editable_1 = require("./pw-locator-patch/is-editable");
11
- const text_content_1 = require("./pw-locator-patch/text-content");
4
+ const expect_1 = require("./pw-locator-patch/highlight/expect");
5
+ const hover_1 = require("./pw-locator-patch/highlight/hover");
6
+ const inner_text_1 = require("./pw-locator-patch/highlight/inner-text");
7
+ const input_value_1 = require("./pw-locator-patch/highlight/input-value");
8
+ const is_checked_1 = require("./pw-locator-patch/highlight/is-checked");
9
+ const is_disabled_1 = require("./pw-locator-patch/highlight/is-disabled");
10
+ const is_editable_1 = require("./pw-locator-patch/highlight/is-editable");
11
+ const text_content_1 = require("./pw-locator-patch/highlight/text-content");
12
12
  function addLocatorHighlights(page) {
13
13
  const LocatorClass = page.locator("").constructor;
14
14
  (0, expect_1.patchExpect)(LocatorClass);
@@ -0,0 +1,3 @@
1
+ import type { Page } from "@playwright/test";
2
+ export declare function addLocatorVisionMethods(page: Page): void;
3
+ //# sourceMappingURL=locator-vision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locator-vision.d.ts","sourceRoot":"","sources":["../../../src/test/scripts/locator-vision.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAI7C,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,QAGjD"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addLocatorVisionMethods = void 0;
4
+ const query_1 = require("./pw-locator-patch/vision/query");
5
+ function addLocatorVisionMethods(page) {
6
+ const LocatorClass = page.locator("").constructor;
7
+ (0, query_1.patchQuery)(LocatorClass);
8
+ }
9
+ exports.addLocatorVisionMethods = addLocatorVisionMethods;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expect.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/expect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,WAAW,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QAmC/D"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchExpect = void 0;
4
- const constants_1 = require("../../constants");
4
+ const constants_1 = require("../../../constants");
5
5
  function patchExpect(LocatorClass) {
6
6
  //@ts-ignore _expect returnsPromise<{ matches: boolean, received?: any, log?: string[], timedOut?: boolean }>
7
7
  const originalExpect = LocatorClass.prototype._expect;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hover.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/hover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,wBAAgB,UAAU,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA2B9D"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchHover = void 0;
4
- const constants_1 = require("../../constants");
4
+ const constants_1 = require("../../../constants");
5
5
  function patchHover(LocatorClass) {
6
6
  const originalHover = LocatorClass.prototype.hover;
7
7
  LocatorClass.prototype.hover = async function (options) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inner-text.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/inner-text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,cAAc,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BlE"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchInnerText = void 0;
4
- const constants_1 = require("../../constants");
4
+ const constants_1 = require("../../../constants");
5
5
  function patchInnerText(LocatorClass) {
6
6
  const originalInputValue = LocatorClass.prototype.innerText;
7
7
  //ref: https://github.com/microsoft/playwright/blob/69287f26bc514b740eac40160503d6fac8185d37/packages/playwright-core/src/client/locator.ts#L251
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-value.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/input-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,eAAe,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BnE"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchInputValue = void 0;
4
- const constants_1 = require("../../constants");
4
+ const constants_1 = require("../../../constants");
5
5
  function patchInputValue(LocatorClass) {
6
6
  const originalInputValue = LocatorClass.prototype.inputValue;
7
7
  //ref: github.com/microsoft/playwright/blob/69287f26bc514b740eac40160503d6fac8185d37/packages/playwright-core/src/client/locator.ts#L255
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-checked.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/is-checked.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,wBAAgB,cAAc,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BlE"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchIsChecked = void 0;
4
- const constants_1 = require("../../constants");
4
+ const constants_1 = require("../../../constants");
5
5
  function patchIsChecked(LocatorClass) {
6
6
  const originalIsChecked = LocatorClass.prototype.isChecked;
7
7
  LocatorClass.prototype.isChecked = async function (options) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-disabled.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/is-disabled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,wBAAgB,eAAe,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BnE"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchIsDisabled = void 0;
4
- const constants_1 = require("../../constants");
4
+ const constants_1 = require("../../../constants");
5
5
  function patchIsDisabled(LocatorClass) {
6
6
  const originalIsDisabled = LocatorClass.prototype.isDisabled;
7
7
  LocatorClass.prototype.isDisabled = async function (options) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-editable.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/is-editable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,wBAAgB,eAAe,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BnE"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchIsEditable = void 0;
4
- const constants_1 = require("../../constants");
4
+ const constants_1 = require("../../../constants");
5
5
  function patchIsEditable(LocatorClass) {
6
6
  const originalIsEditable = LocatorClass.prototype.isEditable;
7
7
  LocatorClass.prototype.isEditable = async function (options) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-content.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/text-content.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,gBAAgB,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BpE"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.patchTextContent = void 0;
4
- const constants_1 = require("../../constants");
4
+ const constants_1 = require("../../../constants");
5
5
  function patchTextContent(LocatorClass) {
6
6
  const originalTextContent = LocatorClass.prototype.textContent;
7
7
  //ref: https://github.com/microsoft/playwright/blob/69287f26bc514b740eac40160503d6fac8185d37/packages/playwright-core/src/client/locator.ts#L318
@@ -0,0 +1,5 @@
1
+ import { Locator } from "@playwright/test";
2
+ export declare function patchQuery(LocatorClass: {
3
+ prototype: Locator;
4
+ }): void;
5
+ //# sourceMappingURL=query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/vision/query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,wBAAgB,UAAU,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QAO9D"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.patchQuery = void 0;
4
+ const vision_1 = require("@empiricalrun/llm/vision");
5
+ function patchQuery(LocatorClass) {
6
+ LocatorClass.prototype.query = async function (instruction) {
7
+ await this.waitFor({ state: "visible" });
8
+ const screenshot = await this.screenshot();
9
+ const answer = await (0, vision_1.query)(screenshot.toString("base64"), instruction);
10
+ return answer;
11
+ };
12
+ }
13
+ exports.patchQuery = patchQuery;
@@ -0,0 +1,44 @@
1
+ import type { Locator, Page, PlaywrightTestArgs } from "@playwright/test";
2
+ interface EnhancedLocator extends Locator {
3
+ query(instruction: string): Promise<string>;
4
+ }
5
+ interface EnhancedPage extends Page {
6
+ locator(selector: string, options?: {
7
+ has?: Locator;
8
+ hasNot?: Locator;
9
+ hasNotText?: string | RegExp;
10
+ hasText?: string | RegExp;
11
+ }): EnhancedLocator;
12
+ getByRole(role: "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "caption" | "cell" | "checkbox" | "code" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem", options?: {
13
+ checked?: boolean;
14
+ disabled?: boolean;
15
+ exact?: boolean;
16
+ expanded?: boolean;
17
+ includeHidden?: boolean;
18
+ level?: number;
19
+ name?: string | RegExp;
20
+ pressed?: boolean;
21
+ selected?: boolean;
22
+ }): EnhancedLocator;
23
+ getByLabel(text: string | RegExp, options?: {
24
+ exact?: boolean;
25
+ }): EnhancedLocator;
26
+ getByPlaceholder(text: string | RegExp, options?: {
27
+ exact?: boolean;
28
+ }): EnhancedLocator;
29
+ getByText(text: string | RegExp, options?: {
30
+ exact?: boolean;
31
+ }): EnhancedLocator;
32
+ getByTestId(testId: string | RegExp): EnhancedLocator;
33
+ getByAltText(text: string | RegExp, options?: {
34
+ exact?: boolean;
35
+ }): EnhancedLocator;
36
+ getByTitle(text: string | RegExp, options?: {
37
+ exact?: boolean;
38
+ }): EnhancedLocator;
39
+ }
40
+ export interface EnhancedPlaywrightTestArgs extends PlaywrightTestArgs {
41
+ page: EnhancedPage;
42
+ }
43
+ export {};
44
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/test/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE1E,UAAU,eAAgB,SAAQ,OAAO;IACvC,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7C;AAED,UAAU,YAAa,SAAQ,IAAI;IAEjC,OAAO,CACL,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,GAAG,CAAC,EAAE,OAAO,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KAC3B,GACA,eAAe,CAAC;IACnB,SAAS,CACP,IAAI,EACA,OAAO,GACP,aAAa,GACb,aAAa,GACb,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,SAAS,GACT,MAAM,GACN,UAAU,GACV,MAAM,GACN,cAAc,GACd,UAAU,GACV,eAAe,GACf,aAAa,GACb,YAAY,GACZ,UAAU,GAC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AC;IACnB,gBAAgB,CACd,IAAI,EAAE,MAAM,GAAG,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,GAC5B,eAAe,CAAC;IACnB,SAAS,CACP,IAAI,EAAE,MAAM,GAAG,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,GAC5B,eAAe,CAAC;IACnB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;IACtD,YAAY,CACV,IAAI,EAAE,MAAM,GAAG,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,GAC5B,eAAe,CAAC;IACnB,UAAU,CACR,IAAI,EAAE,MAAM,GAAG,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,GAC5B,eAAe,CAAC;CACpB;AAED,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB;IACpE,IAAI,EAAE,YAAY,CAAC;CACpB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/playwright-utils",
3
- "version": "0.8.6",
3
+ "version": "0.9.0",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -36,7 +36,7 @@
36
36
  "md5": "^2.3.0",
37
37
  "mime": "3.0.0",
38
38
  "playwright-core": "^1.46.1",
39
- "@empiricalrun/llm": "^0.8.3",
39
+ "@empiricalrun/llm": "^0.9.0",
40
40
  "@empiricalrun/r2-uploader": "^0.1.1"
41
41
  },
42
42
  "scripts": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"expect.d.ts","sourceRoot":"","sources":["../../../../src/test/scripts/pw-locator-patch/expect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,WAAW,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QAmC/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hover.d.ts","sourceRoot":"","sources":["../../../../src/test/scripts/pw-locator-patch/hover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,wBAAgB,UAAU,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA2B9D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"inner-text.d.ts","sourceRoot":"","sources":["../../../../src/test/scripts/pw-locator-patch/inner-text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,cAAc,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BlE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-value.d.ts","sourceRoot":"","sources":["../../../../src/test/scripts/pw-locator-patch/input-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,eAAe,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BnE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-checked.d.ts","sourceRoot":"","sources":["../../../../src/test/scripts/pw-locator-patch/is-checked.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,wBAAgB,cAAc,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BlE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-disabled.d.ts","sourceRoot":"","sources":["../../../../src/test/scripts/pw-locator-patch/is-disabled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,wBAAgB,eAAe,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BnE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-editable.d.ts","sourceRoot":"","sources":["../../../../src/test/scripts/pw-locator-patch/is-editable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,wBAAgB,eAAe,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BnE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-content.d.ts","sourceRoot":"","sources":["../../../../src/test/scripts/pw-locator-patch/text-content.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,gBAAgB,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QA4BpE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"html-reporter-types.d.ts","sourceRoot":"","sources":["../../src/third_party/html-reporter-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,OAAO,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,E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