@auxcode/auxta 1.3.54 → 1.3.55
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.
|
@@ -202,7 +202,7 @@ class AuxGoogleAuth {
|
|
|
202
202
|
yield (yield page.$$('button'))[2].click();
|
|
203
203
|
}
|
|
204
204
|
yield code_helper_1.default.timeout(3000);
|
|
205
|
-
yield code_helper_1.default.waitForSelector('visible', '
|
|
205
|
+
yield code_helper_1.default.waitForSelector('visible', 'body', config_1.config.timeout, page);
|
|
206
206
|
const currentUrl = page.url();
|
|
207
207
|
const code = currentUrl.substring(currentUrl.indexOf("code=") + 5, currentUrl.lastIndexOf("&"));
|
|
208
208
|
code_helper_1.default.log('Then', 'I get the code form the url', status_of_step_1.default.PASSED);
|