title: how to fix selenium web driver is moving too fast?
body: <p>nothing is working well for it. suggest me better option. due to fast speed i can't detect execution in better way.
  here is my code:</p>
  
  <pre><code>public static void main(String[] args) {
  
      //**********************************open ff
          WebDriver driver=new FirefoxDriver();
      //**************************************maximize ff 
          driver.manage().window().maximize();
  
              Logger log = Logger.getLogger("devpinoyLogger");
          driver.get("http://navvitistgvm.cloudapp.net/nvrppluginassist/Account/Login");
  
              log.debug("entring username");      
          driver.findElement(By.xpath("//*[@id='UserName']")).sendKeys("rpadmin");
  
              log.debug("entering password");
          driver.findElement(By.xpath("//*[@id='Password']")).sendKeys("Password123");
  
              log.debug("Clicking login");
          driver.findElement(By.xpath("//*[@id='loginForm']/form/div[4]/div/input")).click();
  
              log.debug("Clicking voucher");
          driver.findElement(By.xpath("html/body/nav/div[2]/div[2]/ul/li[2]/a")).click();
  
  
  
                  log.debug("selecting search_voucher");
  
                   List&lt;WebElement&gt; elements=driver.findElements(By.id("VoucherType"));
                   //elements.get(0).click(); //GV
                   elements.get(1).click();  //GC
                   //elements.get(2).click();//AP
  
                   driver.manage().timeouts().setScriptTimeout(30, TimeUnit.SECONDS);
  
              driver.findElement(By.xpath("//*[@id='main']/form[2]/div[2]/input[4]")).click();
              driver.manage().timeouts().setScriptTimeout(30, TimeUnit.SECONDS);
                  driver.findElement(By.xpath("//*[@id='main']/div[1]/span/a")).click();
      }
      }
  </code></pre>
  
  <p>nothing is working well for it. suggest me better option. due to fast speed i can't detect execution in better way.</p>