@auxcode/auxta 1.3.56 → 1.3.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -192,6 +192,7 @@ class AuxGoogleAuth {
|
|
|
192
192
|
yield (yield page.$$('button'))[2].click();
|
|
193
193
|
yield code_helper_1.default.timeout(3000);
|
|
194
194
|
const checkbox = yield page.$$('input[type="checkbox"]');
|
|
195
|
+
yield code_helper_1.default.timeout(3000);
|
|
195
196
|
if (checkbox.length > 0) {
|
|
196
197
|
yield code_helper_1.default.waitForSelector('visible', 'input[type="checkbox"]', config_1.config.timeout, page);
|
|
197
198
|
yield checkbox[0].click();
|
|
@@ -199,6 +200,7 @@ class AuxGoogleAuth {
|
|
|
199
200
|
}
|
|
200
201
|
else {
|
|
201
202
|
yield code_helper_1.default.waitForSelector('visible', `div[data-email="${email.toLocaleLowerCase()}"]`, config_1.config.timeout, page);
|
|
203
|
+
yield code_helper_1.default.timeout(6000);
|
|
202
204
|
yield (yield page.$$('button'))[2].click();
|
|
203
205
|
}
|
|
204
206
|
yield code_helper_1.default.timeout(3000);
|
|
@@ -22,6 +22,7 @@ class EmailHelper {
|
|
|
22
22
|
verifyEmail(from_name, from_email, subject, body, link = false) {
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
24
|
yield AuxGoogleAuth_1.AuxGoogleAuth.setupHeadless();
|
|
25
|
+
yield new Promise(r => setTimeout(r, 35000));
|
|
25
26
|
let timeoutCount = 12000;
|
|
26
27
|
while (timeoutCount <= 60000) {
|
|
27
28
|
const res = yield AuxGoogleAuth_1.AuxGoogleAuth.gmailClient.users.messages.list({
|