title: Can't find variable: captureLocalizedScreenshot
body: <p>I got this error when I run Fastlane's Snapshot tool:</p>
  
  <pre><code>UIAutomation Error: Script threw an uncaught JavaScript error: Can't find variable: captureLocalizedScreenshot on line 8 of snapshot.js
  </code></pre>
  
  <p>This is my <code>snapshot.js</code> file:</p>
  
  <pre><code>#import 'SnapshotHelper.js'
  
  var target = UIATarget.localTarget();
  var app = target.frontMostApp();
  var window = app.mainWindow();
  
  target.delay(3);
  captureLocalizedScreenshot('0-LandingScreen');
  </code></pre>