Skip to content

Commit

Permalink
Make sure you don't use gnirehtet with webpagereplay (#2230)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Dec 23, 2024
1 parent c2fecc1 commit 0326179
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/core/engine/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 0326179

Please sign in to comment.