@applitools/core 1.2.5 → 1.2.6

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.
@@ -17,13 +17,13 @@ async function takeDomCapture({ driver, settings, logger, }) {
17
17
  const scripts = {
18
18
  main: {
19
19
  script: canExecuteOnlyFunctionScripts
20
- ? require('@applitools/dom-snapshot').captureDomPoll
20
+ ? require('@applitools/dom-capture').captureDomPoll
21
21
  : `return (${isLegacyBrowser ? await (0, dom_capture_1.getCaptureDomPollForIE)() : await (0, dom_capture_1.getCaptureDomPoll)()}).apply(null, arguments);`,
22
22
  args: [arg],
23
23
  },
24
24
  poll: {
25
25
  script: canExecuteOnlyFunctionScripts
26
- ? require('@applitools/dom-snapshot').pollResult
26
+ ? require('@applitools/dom-capture').pollResult
27
27
  : `return (${isLegacyBrowser ? await (0, dom_capture_1.getPollResultForIE)() : await (0, dom_capture_1.getPollResult)()}).apply(null, arguments);`,
28
28
  args: [arg],
29
29
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"