@mablhq/mabl-cli 1.48.41 → 1.48.47

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.
Files changed (33) hide show
  1. package/api/basicApiClient.js +8 -2
  2. package/api/mablApiClient.js +6 -8
  3. package/api/mablApiClientFactory.js +2 -1
  4. package/browserLauncher/playwrightBrowserLauncher/playwrightDom.js +4 -0
  5. package/{mablscript/steps → codeGenerators/seleniumConfigGenerators}/SeleniumIdeStep.js +9 -1
  6. package/{configGenerators → codeGenerators/seleniumConfigGenerators}/flowConfigGenerator.js +1 -1
  7. package/{configGenerators → codeGenerators/seleniumConfigGenerators}/selIdeGenerator.js +20 -4
  8. package/codeGenerators/seleniumConfigGenerators/stepConverters.js +380 -0
  9. package/commands/flows/flows_cmds/export.js +1 -1
  10. package/commands/tests/tests_cmds/export.js +2 -2
  11. package/execution/index.js +1 -1
  12. package/mablscript/MablStep.js +0 -14
  13. package/mablscript/actions/ExtractAction.js +23 -4
  14. package/mablscript/actions/FindAction.js +0 -16
  15. package/mablscript/importer.js +1 -6
  16. package/mablscript/steps/AssertStep.js +4 -109
  17. package/mablscript/steps/ClickStep.js +0 -6
  18. package/mablscript/steps/CreateVariableStep.js +4 -47
  19. package/mablscript/steps/DoubleClickStep.js +0 -6
  20. package/mablscript/steps/EchoStep.js +0 -6
  21. package/mablscript/steps/EnterTextStep.js +0 -7
  22. package/mablscript/steps/HoverStep.js +0 -6
  23. package/mablscript/steps/IfConditionStep.js +4 -1
  24. package/mablscript/steps/NavigateStep.js +0 -6
  25. package/mablscript/steps/RightClickStep.js +0 -6
  26. package/mablscript/steps/SendKeyStep.js +0 -36
  27. package/mablscript/steps/SetViewportStep.js +0 -8
  28. package/mablscript/steps/SwitchContextStep.js +0 -21
  29. package/mablscript/steps/VisitUrlStep.js +0 -6
  30. package/mablscript/steps/WaitStep.js +0 -6
  31. package/mablscript/types/ExtractDescriptor.js +1 -0
  32. package/package.json +1 -1
  33. /package/{configGenerators → codeGenerators/seleniumConfigGenerators}/testConfigGenerator.js +0 -0
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WaitStep = void 0;
4
4
  const MablStep_1 = require("../MablStep");
5
- const SeleniumIdeStep_1 = require("./SeleniumIdeStep");
6
5
  class WaitStep extends MablStep_1.MablStep {
7
6
  constructor(name, args, actions) {
8
7
  super(name, args, actions);
@@ -16,11 +15,6 @@ class WaitStep extends MablStep_1.MablStep {
16
15
  milliseconds: this.milliseconds,
17
16
  };
18
17
  }
19
- produceSelIdeFormattedSteps(_stepIndex) {
20
- const seleniumStep = (0, SeleniumIdeStep_1.buildSeleniumIdeStep)('pause', this);
21
- seleniumStep.target = `${this.milliseconds}`;
22
- return [seleniumStep];
23
- }
24
18
  static fromYaml(_stepName, stepArgs) {
25
19
  return new WaitStep('wait', [stepArgs.milliseconds], []);
26
20
  }
@@ -4,6 +4,7 @@ exports.ExtractType = void 0;
4
4
  var ExtractType;
5
5
  (function (ExtractType) {
6
6
  ExtractType["EXTRACT_ATTRIBUTE"] = "extract_attribute";
7
+ ExtractType["EXTRACT_CSS_PROPERTIES"] = "extract_css_properties";
7
8
  ExtractType["EXTRACT_EMAIL_ATTRIBUTE"] = "extract_email_attribute";
8
9
  ExtractType["EXTRACT_INNER_TEXT"] = "extract_inner_text";
9
10
  })(ExtractType = exports.ExtractType || (exports.ExtractType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mablhq/mabl-cli",
3
- "version": "1.48.41",
3
+ "version": "1.48.47",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The official mabl command line interface tool",
6
6
  "main": "index.js",