Skip to content

Commit

Permalink
Make sure you don't use gnirehtet with webpagereplay
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 23, 2024
1 parent c2fecc1 commit 7c0e19a
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 7c0e19a

Please sign in to comment.