@loki/target-chrome-core
Advanced tools
Comparing version 0.23.0 to 0.24.0
{ | ||
"name": "@loki/target-chrome-core", | ||
"version": "0.23.0", | ||
"version": "0.24.0", | ||
"description": "Loki Chrome target core lib", | ||
@@ -23,4 +23,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@loki/browser": "^0.23.0", | ||
"@loki/core": "^0.23.0" | ||
"@loki/browser": "^0.24.0", | ||
"@loki/core": "^0.24.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "510fd0501e27efde006d906b60a0cf1e41c49015" | ||
"gitHead": "ae70705a46e834d34f15862faa74dfc35f3a28c0" | ||
} |
@@ -324,3 +324,8 @@ const debug = require('debug')('loki:chrome'); | ||
async function captureScreenshotForStory(storyId, options, configuration) { | ||
async function captureScreenshotForStory( | ||
storyId, | ||
options, | ||
configuration, | ||
parameters | ||
) { | ||
let tabOptions = Object.assign( | ||
@@ -339,3 +344,6 @@ { | ||
} | ||
const selector = configuration.chromeSelector || options.chromeSelector; | ||
const selector = | ||
parameters.chromeSelector || | ||
configuration.chromeSelector || | ||
options.chromeSelector; | ||
const url = getStoryUrl(storyId); | ||
@@ -342,0 +350,0 @@ |
14579
379
+ Added@loki/browser@0.24.0(transitive)
+ Added@loki/core@0.24.0(transitive)
+ Added@loki/integration-core@0.24.0(transitive)
- Removed@loki/browser@0.23.0(transitive)
- Removed@loki/core@0.23.0(transitive)
- Removed@loki/integration-core@0.23.0(transitive)
Updated@loki/browser@^0.24.0
Updated@loki/core@^0.24.0