@wdio/utils
Advanced tools
Comparing version 7.7.2 to 7.7.3
@@ -24,4 +24,6 @@ import type { Services } from '@wdio/types'; | ||
file?: string; | ||
}): "\"<Screenshot[base64]>\"" | { | ||
script?: string; | ||
}): "\"<Screenshot[base64]>\"" | "\"<Script[base64]>\"" | { | ||
file?: string | undefined; | ||
script?: string | undefined; | ||
}; | ||
@@ -28,0 +30,0 @@ /** |
@@ -10,2 +10,3 @@ "use strict"; | ||
const SCREENSHOT_REPLACEMENT = '"<Screenshot[base64]>"'; | ||
const SCRIPT_PLACEHOLDER = '"<Script[base64]>"'; | ||
/** | ||
@@ -96,2 +97,5 @@ * overwrite native element commands with user defined | ||
} | ||
else if (typeof result.script === 'string' && isBase64(result.script)) { | ||
return SCRIPT_PLACEHOLDER; | ||
} | ||
return result; | ||
@@ -98,0 +102,0 @@ } |
{ | ||
"name": "@wdio/utils", | ||
"version": "7.7.2", | ||
"version": "7.7.3", | ||
"description": "A WDIO helper utility to provide several utility functions used across the project.", | ||
@@ -27,3 +27,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"@wdio/logger": "7.7.0", | ||
"@wdio/types": "7.7.0" | ||
"@wdio/types": "7.7.3" | ||
}, | ||
@@ -34,3 +34,3 @@ "publishConfig": { | ||
"types": "./build/index.d.ts", | ||
"gitHead": "ed71ef4ca3a88ff71479f859c22e331771376329" | ||
"gitHead": "622993743a170d0f9d782cf50284c6d41f483100" | ||
} |
Sorry, the diff of this file is not supported yet
86871
1875
+ Added@wdio/types@7.7.3(transitive)
- Removed@wdio/types@7.7.0(transitive)
Updated@wdio/types@7.7.3