title: How to Scroll Up/Down in Andriod Appium using wd driver using Javascript-nodejs?
body: <p>I am trying to automate an Android APP where I need to scroll down/up the screen using the wd driver using Javascript(NodeJS Automated Testing with WD.js)</p>
  
  <p>I tried using the below locators and it didn't work</p>
  
  <pre><code>await driver.scroll(100, 200);
  //await driver.execute('mobile: scroll', {direction: 'down'});
  //await  driver.execute("mobile: scroll", [{ direction: 'down' }])
  </code></pre>
  
  <p>I am getting the below error:</p>
  
  <blockquote>
    <p>Error: [scroll(100,200)] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command. Original error: com.jayway.jsonpath.InvalidPathException: invalid path.</p>
  </blockquote>
  
  <p>Appreciate your inputs and help on this.</p>