@mablhq/mabl-cli 1.20.12 → 1.20.17

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.
@@ -194,8 +194,11 @@ class PlaywrightElementHandle extends PlaywrightJsHandle {
194
194
  return this.element.selectOption(value);
195
195
  }
196
196
  async type(text, options) {
197
- await this.element.focus();
198
- await this.element.selectText({ force: true });
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,