title: How do I take a screenshot with selenium and synchronous JS
body: <p>I am writing an automated test in javaScript using a node library called webdriver-synch, which pretty much allows you to write selenium test without callbacks and promises. Utilizes the java Webdriver API. There is no documentation on how to do this. </p>
  
  <p>I am having a difficult time understanding how to take and save a screenshot locally using this library. can anyone suggest a solution?</p>