From 0326179dc3daf50ccdf5f67537d3920b393c8542 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Mon, 23 Dec 2024 08:38:42 +0100 Subject: [PATCH] Make sure you don't use gnirehtet with webpagereplay (#2230) --- lib/core/engine/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/engine/index.js b/lib/core/engine/index.js index 1eb0ab39d..9ad1bd9e7 100644 --- a/lib/core/engine/index.js +++ b/lib/core/engine/index.js @@ -93,7 +93,7 @@ export class Engine { await android._init(); this.android = android; - if (options.android.gnirehtet === true) { + if (options.android.gnirehtet === true && !options.webpagereplay) { this.gnirehtet = new Gnirehtet(options); await this.gnirehtet.start(); } @@ -521,8 +521,9 @@ export class Engine { } if ( + !options.webpagereplay && options.android && - options.android.gnirehtett === true && + options.android.gnirehtet === true && this.gnirehtet ) { await this.gnirehtet.stop();