New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/dom-utils

Package Overview
Dependencies
Maintainers
15
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/dom-utils - npm Package Compare versions

Comparing version 4.6.5 to 4.6.6

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [4.6.6](https://github.com/applitools/eyes.sdk.javascript1/compare/@applitools/dom-utils@4.6.5...@applitools/dom-utils@4.6.6) (2019-04-02)
### Bug Fixes
* **dom-utils:** replace `get driver` to `getDriver` method ([f5313c0](https://github.com/applitools/eyes.sdk.javascript1/commit/f5313c0))
## [4.6.5](https://github.com/applitools/eyes.sdk.javascript1/compare/@applitools/dom-utils@4.6.4...@applitools/dom-utils@4.6.5) (2019-03-24)

@@ -8,0 +19,0 @@

8

lib/DomCapture.js

@@ -66,3 +66,3 @@ 'use strict';

})`;
const url = await this.driver.getCurrentUrl();
const url = await this._driver.getCurrentUrl();

@@ -78,3 +78,3 @@ return this.getFrameDom(asyncCaptureDomScript, url);

async getFrameDom(script, url) {
let domSnapshotRaw = await this.driver.executeAsyncScript(script);
let domSnapshotRaw = await this._driver.executeAsyncScript(script);

@@ -146,3 +146,3 @@ const domSnapshotRawArr = domSnapshotRaw ? domSnapshotRaw.split('\n') : [];

for (const xpath of xpaths) {
const iframeEl = await this.driver.findElementByXPath(`/${xpath}`);
const iframeEl = await this._driver.findElementByXPath(`/${xpath}`);
await this._driver.switchTo().frame(iframeEl);

@@ -198,3 +198,3 @@ framesCount = framesCount + 1;

get driver() {
getDriver() {
return this._driver;

@@ -201,0 +201,0 @@ }

{
"name": "@applitools/dom-utils",
"version": "4.6.5",
"version": "4.6.6",
"description": "Applitools DOM Utils is a shared utility package",

@@ -28,3 +28,3 @@ "keywords": [

"@applitools/dom-capture": "^7.0.8",
"@applitools/eyes-common": "^2.2.1",
"@applitools/eyes-common": "^3.0.0",
"axios": "^0.18.0"

@@ -45,3 +45,3 @@ },

},
"gitHead": "24beb417df275c99519cf04df8cdaac26ed94c60"
"gitHead": "385d60fe8da84abe5b879d0ba31341bc76354602"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc