title: How to scroll web page till that web element appear and perform required actions
body: <p>I have scenario if we search for any input we will get multiple table data .
  we have "show as text link" present in different table row we need click.</p>
  
  <p>i have written a code it is working fine in IE in one machine same script is not working in different machine due to vary of monitor size!</p>
  
  <pre><code>       String rawTextXpath = "//table[@id='view518-table']/tbody/tr[1]/td[4]/div[1]/a[text()='Show as raw text']";
              boolean exists = false;
              exists = driver.findElements(By.xpath(rawTextXpath)).size() != 0;
  
              if (exists == false) {
                  system.out.println("No Results found!");
              }
              int i = 1;
              while (exists == true) { 
                  try {
  
                      driver.findElement(By.xpath(rawTextXpath)).click();
                      Thread.sleep(3000);
  
  
  
                  }       
  
                  catch (Exception e) {
  
                  }   
  
                  String expandXpath = "//table[@id='view518-table']/tbody/tr[" + i + "]/td[1]/a";
                  driver.findElement(By.xpath(expandXpath)).click();
  
                  JavascriptExecutor jse = (JavascriptExecutor) driver;
                  jse.executeScript("window.scrollBy(0,150)", "");
  
  
  
                  rawTextXpath = "//table[@id='view518-table']/tbody/tr[" + (i + 1)
                          + "]/td[4]/div[1]/a[text()='Show as raw text']";
  
                  exists = driver.findElements(By.xpath(rawTextXpath)).size() != 0;
  
                  i++; 
  
              }
  </code></pre>
  
  <p>Note : in above script i am scrolling webpage by 150 it will working fine in IE same version in one machine and it is not working same browser in another browsers</p>
  
  <p>Action is 
  1. click on show as text link in each table row and then click on expand icon</p>
  
  <p>Above code is not working properly in different system in same IE11 browser because monitor size is different! </p>