playwright-ts-automationframework 1.1.52 → 1.1.53
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.
|
@@ -95,8 +95,8 @@ export declare class Actions extends BasePage {
|
|
|
95
95
|
*
|
|
96
96
|
* selectDropDownByText(cityDrpdwn, "Sydney");
|
|
97
97
|
*/
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
selectFromDropdownByText(control: WebControl, optionTobeSelcted: string): Promise<void>;
|
|
99
|
+
selectFromDropdownByPartialText(control: WebControl, partialText: string): Promise<void>;
|
|
100
100
|
/**
|
|
101
101
|
* Select dropdown element by index.
|
|
102
102
|
*
|
package/lib/core/actions.core.js
CHANGED
|
@@ -271,7 +271,7 @@ var Actions = /** @class */ (function (_super) {
|
|
|
271
271
|
*
|
|
272
272
|
* selectDropDownByText(cityDrpdwn, "Sydney");
|
|
273
273
|
*/
|
|
274
|
-
Actions.prototype.
|
|
274
|
+
Actions.prototype.selectFromDropdownByText = function (control, optionTobeSelcted) {
|
|
275
275
|
return __awaiter(this, void 0, void 0, function () {
|
|
276
276
|
return __generator(this, function (_a) {
|
|
277
277
|
switch (_a.label) {
|
|
@@ -289,7 +289,7 @@ var Actions = /** @class */ (function (_super) {
|
|
|
289
289
|
});
|
|
290
290
|
});
|
|
291
291
|
};
|
|
292
|
-
Actions.prototype.
|
|
292
|
+
Actions.prototype.selectFromDropdownByPartialText = function (control, partialText) {
|
|
293
293
|
return __awaiter(this, void 0, void 0, function () {
|
|
294
294
|
var options, matchingOption;
|
|
295
295
|
return __generator(this, function (_a) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright-ts-automationframework",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.53",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"ignore-case": "^0.1.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@playwright/test": "^1.
|
|
23
|
-
"@types/node": "^22.
|
|
22
|
+
"@playwright/test": "^1.52.0",
|
|
23
|
+
"@types/node": "^22.15.17",
|
|
24
24
|
"log4js": "^6.9.1",
|
|
25
|
-
"nodemailer": "^
|
|
26
|
-
"npm": "^11.
|
|
25
|
+
"nodemailer": "^7.0.3",
|
|
26
|
+
"npm": "^11.3.0",
|
|
27
27
|
"path": "^0.12.7",
|
|
28
|
-
"typescript": "^5.8.
|
|
28
|
+
"typescript": "^5.8.3"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"lib/**/**"
|