title: Phantom/Caperjs User input
body: <p>I have this script</p>
  
  <pre><code>// Prompting user to specify the domain and acting on domain
  system.stdout.writeLine('Enter the domain to test - "UAT1","UAT2","RC" or "LIVE" :');
  var testingENV = system.stdin.readLine();
  </code></pre>
  
  <p>In addition there are other part of my test script which relies on user input</p>
  
  <pre><code>system.stdout.writeLine('Enter your NRIC number :');
  var NRICno = system.stdin.readLine();
  
  system.stdout.writeLine('Enter your Mobile number in the follwing format (+6588888888) :');
  var MOBno = system.stdin.readLine();
  </code></pre>
  
  <p>Currently the script work fine using sytem.stdin.readline() </p>
  
  <p>I was wondering if i want to create a web interface for testers to test and interact with the script how would i go about doing that .</p>