title: Getting "Unhandled promise rejection" error in testCafe test script
body: <p>Created a test in testcafe, using Javascript in Visual studio code.
  Not sure why this error appears, as couple of test cases are running fine with same codes</p>
  <p><strong>Unhandled promise rejection:
  ActionStringArgumentError { code: 'E16', isTestCafeError: true, callsite: CallsiteRecord { filename:
  'File Location', lineNum: 23, callsiteFrameIdx: 6, stackFrames: [
  [Object],    [Object],    [Object],
  [Object],    [Object],    [Object],
  [Object],    CallSite {}, [Object],
  [Object],    [Object],    CallSite {},
  [Object],    [Object],    [Object],
  CallSite {}, [Object],    [Object],
  [Object],    CallSite {}, [Object],
  [Object],    [Object],    CallSite {},
  [Object],    [Object],    [Object],
  CallSite {}, [Object],    [Object],
  [Object],    [Object],    [Object],
  [Object]
  ], isV8Frames: true }, argumentName: 'text', actualValue: 'undefined' }
  Browser: Chrome 96.0.4664.45 / Windows 10</strong></p>
  <p>Thanks</p>