can beep when blocked

This commit is contained in:
2022-09-10 12:10:43 +02:00
parent a578ca8a4d
commit 209148cabd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ const {MongoManager, formatDate} = require("./src/workers/mongo_manager");
const mongoManager = new MongoManager(); const mongoManager = new MongoManager();
let excelUtil = new ExcelUtil(); let excelUtil = new ExcelUtil();
let contactList = excelUtil.readContacts().slice(11,12); let contactList = excelUtil.readContacts()
mongoManager.connect().then(r => mongoManager.connect().then(r =>
android.devices().then((devices) => { android.devices().then((devices) => {
+1 -1
View File
@@ -2,7 +2,7 @@ const {_android: android, devices} = require("playwright");
const {SolveCaptcha, TWO_CAPTCHA_CONNECTION_FAILED} = require("./SolveCaptcha"); const {SolveCaptcha, TWO_CAPTCHA_CONNECTION_FAILED} = require("./SolveCaptcha");
const ReserveResultPojo = require("../models/ReserveResultPojo"); const ReserveResultPojo = require("../models/ReserveResultPojo");
const PublishType = require("../models/PublishType"); const PublishType = require("../models/PublishType");
const beep = require('beepbeep')
// const RDV_URL = "http://192.168.1.16:8000/test_appointment.html" // const RDV_URL = "http://192.168.1.16:8000/test_appointment.html"
const RDV_URL = "https://rendezvousparis.hermes.com/client/register"; const RDV_URL = "https://rendezvousparis.hermes.com/client/register";
BLANK_URL = "about:blank" BLANK_URL = "about:blank"