@mablhq/mabl-cli 1.20.9 → 1.21.1
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/api/basicApiClient.js +1 -1
- package/browserLauncher/playwrightBrowserLauncher/playwrightDom.js +5 -2
- package/domUtil/index.js +1 -1
- package/execution/index.js +1 -1
- package/mablscriptFind/index.js +1 -1
- package/package.json +1 -2
- package/providers/cliConfigProvider.js +1 -0
- package/resources/mablFind.js +1 -1
package/api/basicApiClient.js
CHANGED
|
@@ -147,7 +147,7 @@ class BasicApiClient {
|
|
|
147
147
|
return this.retryWrappedRequest(`makeDeleteRequest('${path}')`, () => this.deleteRequest(path, this.getRetryableRequestConfig(retryConfig)), retryConfig);
|
|
148
148
|
}
|
|
149
149
|
async deleteRequest(path, config) {
|
|
150
|
-
const response = await this.debugRequest('DELETE', path, () => this.
|
|
150
|
+
const response = await this.debugRequest('DELETE', path, () => this.httpClient.delete(path, config));
|
|
151
151
|
BasicApiClient.checkResponseStatusCode(response);
|
|
152
152
|
return response.data;
|
|
153
153
|
}
|
|
@@ -194,8 +194,11 @@ class PlaywrightElementHandle extends PlaywrightJsHandle {
|
|
|
194
194
|
return this.element.selectOption(value);
|
|
195
195
|
}
|
|
196
196
|
async type(text, options) {
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
var _a;
|
|
198
|
+
const selectText = (_a = options === null || options === void 0 ? void 0 : options.selectText) !== null && _a !== void 0 ? _a : true;
|
|
199
|
+
if (selectText) {
|
|
200
|
+
await this.element.selectText({ force: true });
|
|
201
|
+
}
|
|
199
202
|
return this.element.type(text, {
|
|
200
203
|
delay: options === null || options === void 0 ? void 0 : options.delay,
|
|
201
204
|
timeout: 0,
|