@percy/webdriver-utils 1.31.6 → 1.31.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.
@@ -92,7 +92,8 @@ export default class AutomateProvider extends GenericProvider {
92
92
  return {
93
93
  tiles: tiles,
94
94
  domInfoSha: tileResponse.dom_sha,
95
- metadata: metadata
95
+ metadata: metadata,
96
+ boundingBoxes: tileResponse.bounding_boxes || null
96
97
  };
97
98
  }
98
99
  async setDebugUrl() {
@@ -197,7 +197,8 @@ export default class GenericProvider {
197
197
  environmentInfo: this.getUserAgentString(this.environmentInfoDetails),
198
198
  clientInfo: this.getUserAgentString(this.clientInfoDetails),
199
199
  domInfoSha: tiles.domInfoSha,
200
- metadata: tiles.metadata || null
200
+ metadata: tiles.metadata || null,
201
+ elementSelectorsData: tiles.boundingBoxes || null
201
202
  };
202
203
  }
203
204
  getUserAgentString(data) {
@@ -240,7 +241,8 @@ export default class GenericProvider {
240
241
  domInfoSha: await this.getDomContent(),
241
242
  metadata: {
242
243
  windowHeight: await this.getWindowHeight()
243
- }
244
+ },
245
+ boundingBoxes: null
244
246
  };
245
247
  }
246
248
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/webdriver-utils",
3
- "version": "1.31.6",
3
+ "version": "1.31.7",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,8 +29,8 @@
29
29
  "test:coverage": "yarn test --coverage"
30
30
  },
31
31
  "dependencies": {
32
- "@percy/config": "1.31.6",
33
- "@percy/sdk-utils": "1.31.6"
32
+ "@percy/config": "1.31.7",
33
+ "@percy/sdk-utils": "1.31.7"
34
34
  },
35
- "gitHead": "f5575bd2cd974b24fe3425ee5095fc825e30585e"
35
+ "gitHead": "a0b5ff9e0224d0ab4559f20170256320e91c6161"
36
36
  }