ff-automationv2 2.2.34-beta.1 → 2.2.34-beta.2

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.
@@ -475,11 +475,11 @@ class AutomationRunner {
475
475
  doc = runnerDomPipeline_js_1.RunnerDomPipeline.parseDomDocument(domInfo.dom, "web");
476
476
  }
477
477
  else {
478
- const domResult = await runnerDomPipeline_js_1.RunnerDomPipeline.captureAndParseDom(driver, currentPlatform, stepCount, action, false);
478
+ const domResult = await runnerDomPipeline_js_1.RunnerDomPipeline.captureAndParseDom(driver, currentPlatform, stepCount, action, false, driverContext);
479
479
  domInfo = domResult.domInfo;
480
480
  doc = domResult.doc;
481
481
  }
482
- const relevantDomResult = await runnerDomPipeline_js_1.RunnerDomPipeline.processRelevantDom(domProcessor, domInfo, keywords, stepCount, action, currentStep, currentPlatform, driver, false);
482
+ const relevantDomResult = await runnerDomPipeline_js_1.RunnerDomPipeline.processRelevantDom(domProcessor, domInfo, keywords, stepCount, action, currentStep, currentPlatform, driver, false, driverContext);
483
483
  extractedRelevantDom = relevantDomResult.extractedRelevantDom;
484
484
  const toonDom = relevantDomResult.toonDom;
485
485
  const actionResolution = await (0, stepActionInspector_js_1.resolveStepActionFromDom)(stepProcessor, currentPlatform, action, toonDom, priorAndNextSteps, currentStep, stepObj.fileType ?? null);
@@ -12,7 +12,7 @@ async function appendScriptData(args) {
12
12
  if (isWebView && args.scriptDataAppender.currentMobileView !== "WEBVIEW") {
13
13
  args.scriptDataAppender.add(async () => ({
14
14
  nlpName: "MOB_SwitchToView",
15
- stepInputs: ["WEBVIEW"],
15
+ stepInputs: [],
16
16
  elementsData: []
17
17
  }));
18
18
  args.scriptDataAppender.currentMobileView = "WEBVIEW";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ff-automationv2",
3
- "version": "2.2.34-beta.1",
3
+ "version": "2.2.34-beta.2",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "This lib is used to automate the manual testcase",