From 857533966b585fa0fef7781dbef168e4f39d238f Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Wed, 21 Jun 2023 14:32:14 +0200 Subject: [PATCH] set store via excel --- src/workers/CommandorPage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/workers/CommandorPage.js b/src/workers/CommandorPage.js index ec4ee84..0f2564c 100644 --- a/src/workers/CommandorPage.js +++ b/src/workers/CommandorPage.js @@ -443,6 +443,8 @@ class CommandorPage { if (!this.page.isClosed() && !this.isTerminated) { if (this.contact.store === undefined || this.contact.store.length === 0) { this.contact.store = this.selectedStore; + } else { + this.selectedStore = this.contact.store; } if (this.contact.store !== "random") { // page.focus(PREFER_STORE);