@auxcode/auxta 1.3.89 → 1.3.91
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.
|
@@ -15,7 +15,7 @@ export declare class FunctionHelper extends ExtendDefaultPage {
|
|
|
15
15
|
waitForSelector(option: string, selector: string, time?: number, page?: import("puppeteer").Page, log_message?: boolean): Promise<void>;
|
|
16
16
|
urlContains(selector: string, page?: import("puppeteer").Page): Promise<void>;
|
|
17
17
|
forceState(selector: string, state: string, index?: number, page?: import("puppeteer").Page): Promise<void>;
|
|
18
|
-
|
|
18
|
+
endForceState(): Promise<void>;
|
|
19
19
|
pressEnter(page?: import("puppeteer").Page): Promise<void>;
|
|
20
20
|
emulate(phone_name: string, page?: import("puppeteer").Page): Promise<void>;
|
|
21
21
|
restartBrowser(): Promise<void>;
|
|
@@ -164,7 +164,7 @@ class FunctionHelper extends extend_default_page_1.ExtendDefaultPage {
|
|
|
164
164
|
});
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
endForceState() {
|
|
168
168
|
var _a;
|
|
169
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
170
170
|
(_a = this.cdp) === null || _a === void 0 ? void 0 : _a.detach();
|
|
@@ -233,6 +233,7 @@ class FunctionHelper extends extend_default_page_1.ExtendDefaultPage {
|
|
|
233
233
|
yield this.waitForResponse('microsoft_logo', true, loginPage);
|
|
234
234
|
}
|
|
235
235
|
try {
|
|
236
|
+
yield this.timeout(1000);
|
|
236
237
|
(_a = (yield loginPage.$(password_input))) === null || _a === void 0 ? void 0 : _a.type(password);
|
|
237
238
|
yield this.log('Then', `I type password into the ${password_input}`, AuxTA_1.StepStatus.PASSED);
|
|
238
239
|
}
|