playwright-ts-automationframework 1.1.68 → 1.1.70
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.
- package/lib/core/actions.core.d.ts +13 -1
- package/lib/core/actions.core.js +433 -735
- package/lib/core/assertion.core.d.ts +1 -1
- package/lib/core/assertion.core.js +466 -775
- package/lib/core/basePage.core.js +19 -66
- package/lib/core/configuration.core.js +44 -67
- package/lib/core/global.setup.js +7 -55
- package/lib/core/global.tearDown.js +4 -51
- package/lib/core/logs.core.js +12 -12
- package/lib/core/sendEmail.js +38 -93
- package/lib/core/webControl.core.js +5 -4
- package/lib/src/core/actions.core.d.ts +349 -0
- package/lib/src/core/actions.core.js +1056 -0
- package/lib/src/core/assertion.core.d.ts +269 -0
- package/lib/src/core/assertion.core.js +1045 -0
- package/lib/src/core/basePage.core.d.ts +17 -0
- package/lib/src/core/basePage.core.js +86 -0
- package/lib/src/core/configuration.core.d.ts +22 -0
- package/lib/src/core/configuration.core.js +84 -0
- package/lib/src/core/global.setup.d.ts +3 -0
- package/lib/src/core/global.setup.js +60 -0
- package/lib/src/core/global.tearDown.d.ts +3 -0
- package/lib/src/core/global.tearDown.js +56 -0
- package/lib/src/core/logs.core.d.ts +5 -0
- package/lib/src/core/logs.core.js +54 -0
- package/lib/src/core/sendEmail.d.ts +7 -0
- package/lib/src/core/sendEmail.js +102 -0
- package/lib/src/core/webControl.core.d.ts +10 -0
- package/lib/src/core/webControl.core.js +15 -0
- package/lib/src/index.d.ts +8 -0
- package/lib/src/index.js +23 -0
- package/package.json +6 -6
|
@@ -186,6 +186,18 @@ export declare class Actions extends BasePage {
|
|
|
186
186
|
* let textboxValue = getTextboxValue(usernameTxtbx);
|
|
187
187
|
*/
|
|
188
188
|
getTextboxValue(control: WebControl): Promise<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Read input value of an element
|
|
191
|
+
*
|
|
192
|
+
* @param WebControl textbox Control.
|
|
193
|
+
*
|
|
194
|
+
* Example:
|
|
195
|
+
*
|
|
196
|
+
* usernameTxtbx = new WebControl(this.page.locator("#username"), 'Username textbox');
|
|
197
|
+
*
|
|
198
|
+
* let inputValue = getInputValue(usernameTxtbx);
|
|
199
|
+
*/
|
|
200
|
+
getInputValue(control: WebControl): Promise<string>;
|
|
189
201
|
/**
|
|
190
202
|
* Read selected dropdown item.
|
|
191
203
|
*
|
|
@@ -278,7 +290,7 @@ export declare class Actions extends BasePage {
|
|
|
278
290
|
*
|
|
279
291
|
* let title = getTitle();
|
|
280
292
|
*/
|
|
281
|
-
getTitle(): Promise<
|
|
293
|
+
getTitle(): Promise<string>;
|
|
282
294
|
/**
|
|
283
295
|
* Wait till URL contains value
|
|
284
296
|
*
|