title: How to take runtime input in selenium while automation testing?
body: <p>I'm trying to take data from user at run time while automating a Webapplication. I have searched a lot but I couldn't find anything. I have tried this method. (code mentioned below)</p>
  <pre><code>Scanner scanner_user = new Scanner(System.in);
      System.out.println(&quot;Enter your Email or Phone : &quot;);
      String user = scanner_user.nextLine();
      System.out.println(&quot;our otp is &quot; + user.toString());
  </code></pre>
  <p>but It doesn't work . it ask to enter data in console but it says read only view. please help me how can I take data at runtime.</p>