@axe-core/webdriverjs 4.7.4-alpha.407 → 4.7.4-alpha.408

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.
package/dist/index.js CHANGED
@@ -485,7 +485,12 @@ var AxeBuilder = class {
485
485
  try {
486
486
  (0, import_assert.default)(frame, `Expect frame of "${frameSelector}" to be defined`);
487
487
  await this.driver.switchTo().frame(frame);
488
- partials.push(...await this.runPartialRecursive(frameContext, [...frameStack, frame]));
488
+ partials.push(
489
+ ...await this.runPartialRecursive(frameContext, [
490
+ ...frameStack,
491
+ frame
492
+ ])
493
+ );
489
494
  await this.driver.switchTo().parentFrame();
490
495
  } catch {
491
496
  const win = await this.driver.getWindowHandle();
package/dist/index.mjs CHANGED
@@ -450,7 +450,12 @@ var AxeBuilder = class {
450
450
  try {
451
451
  assert(frame, `Expect frame of "${frameSelector}" to be defined`);
452
452
  await this.driver.switchTo().frame(frame);
453
- partials.push(...await this.runPartialRecursive(frameContext, [...frameStack, frame]));
453
+ partials.push(
454
+ ...await this.runPartialRecursive(frameContext, [
455
+ ...frameStack,
456
+ frame
457
+ ])
458
+ );
454
459
  await this.driver.switchTo().parentFrame();
455
460
  } catch {
456
461
  const win = await this.driver.getWindowHandle();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/webdriverjs",
3
- "version": "4.7.4-alpha.407+ca07660",
3
+ "version": "4.7.4-alpha.408+502b6c2",
4
4
  "description": "Provides a method to inject and analyze web pages using axe",
5
5
  "contributors": [
6
6
  {
@@ -111,5 +111,5 @@
111
111
  "functions": 85,
112
112
  "lines": 85
113
113
  },
114
- "gitHead": "ca07660635fbc6c0e498d4326213b3901bdf3698"
114
+ "gitHead": "502b6c2954bee68bb483bfcf58af9b34471f06d0"
115
115
  }