Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -4,7 +4,7 @@ const ContactPojo = require("../models/ContactPojo");
|
|||||||
class ExcelUtil {
|
class ExcelUtil {
|
||||||
|
|
||||||
readContacts() {
|
readContacts() {
|
||||||
let workSheetsFromFile = xlsx.parse('/Users/lpan/Desktop/contact_all.xlsx');
|
let workSheetsFromFile = xlsx.parse('C:/Users/lei/Desktop/contact_all.xlsx');
|
||||||
console.log(workSheetsFromFile);
|
console.log(workSheetsFromFile);
|
||||||
// return a list of contactPojo
|
// return a list of contactPojo
|
||||||
let contactList = [];
|
let contactList = [];
|
||||||
|
|||||||
@@ -75,12 +75,10 @@ class CommandorPage {
|
|||||||
})
|
})
|
||||||
try {
|
try {
|
||||||
await this.page.goto(RDV_URL, {timeout: 90 * 1000});
|
await this.page.goto(RDV_URL, {timeout: 90 * 1000});
|
||||||
}catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.isTerminated = true
|
this.isTerminated = true
|
||||||
}
|
}
|
||||||
//wait 10 mins
|
|
||||||
// Close the device.
|
|
||||||
|
|
||||||
let cancel
|
let cancel
|
||||||
const intervalTask = setInterval(() => {
|
const intervalTask = setInterval(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user