title: How to get data from web page without scrolling using selenium webdriver
body: <p>How to get all data from the webpage without using scroll or page up and down.</p>
  
  <p><a href="https://i.stack.imgur.com/DNxht.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DNxht.png" alt="enter image description here"></a></p>
  
  <pre><code>    int n = 10;
          for (int i = 0; i &lt; n; i++) {
              wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[@type=\"text\"]")));
              List&lt;WebElement&gt; FV = driver.findElements(By.xpath("//*[@type=\"text\"]"));
              WebElement aa = FV.get(i);
              String cc = aa.getAttribute("value");
              System.out.println(cc);
  </code></pre>
  
  <p>After I run this code it displays blank.</p>