@applitools/driver 1.10.1 → 1.10.2
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.
- package/dist/driver.js +4 -2
- package/package.json +1 -1
package/dist/driver.js
CHANGED
|
@@ -347,13 +347,15 @@ class Driver {
|
|
|
347
347
|
return;
|
|
348
348
|
const [origin, next] = await this.getWorlds();
|
|
349
349
|
const currentWorld = await ((_b = (_a = this._spec).getCurrentWorld) === null || _b === void 0 ? void 0 : _b.call(_a, this.target));
|
|
350
|
-
|
|
350
|
+
const result = {
|
|
351
351
|
id: currentWorld,
|
|
352
352
|
home: origin,
|
|
353
353
|
next,
|
|
354
354
|
isNative: currentWorld === origin,
|
|
355
|
-
isWebView: currentWorld !== origin,
|
|
355
|
+
isWebView: currentWorld !== origin && currentWorld !== 'CHROMIUM',
|
|
356
356
|
};
|
|
357
|
+
this._logger.log('current world', result);
|
|
358
|
+
return result;
|
|
357
359
|
}
|
|
358
360
|
// end world
|
|
359
361
|
async refreshContexts() {
|