title: no such element in Js webdriverio with Appium . and how to use promise here?
body: <p>We run this coming promise error. We use the await function but not working correctly.</p>
  <p>**<code>java script</code></p>
  <pre><code> var wdio = require('webdriverio'); 
   var allureReporter = require('@wdio/allure-reporter').default; 
   var assert = require('assert'); 
   describe('Test cases for EriBank', () =&gt; 
   { 
   it('TC_01_Sign In To The Account', async () =&gt; { 
   allureReporter.addDescription('User should be able to login to the 
   account and verify the home page');
   driver. Pause(20000);
     username = await $(&quot;//android.widget.EditText[@text='Username']&quot;); 
     username.setValue('company');
   }); 
   });
  </code></pre>
  <pre><code>
  </code></pre>