chooseStore from excel
This commit is contained in:
@@ -448,7 +448,7 @@ class CommandorPage {
|
|||||||
// page.focus(PREFER_STORE);
|
// page.focus(PREFER_STORE);
|
||||||
await delay(500)
|
await delay(500)
|
||||||
// page.click(PREFER_STORE);
|
// page.click(PREFER_STORE);
|
||||||
let stores = this.selectedStore.split(":")
|
let stores = this.contact.store.split(":")
|
||||||
this.choosedStore = stores[Math.floor(Math.random() * stores.length)]
|
this.choosedStore = stores[Math.floor(Math.random() * stores.length)]
|
||||||
await page.select(PREFER_STORE, this.choosedStore);
|
await page.select(PREFER_STORE, this.choosedStore);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user