title: Why PhantomJS type only the last letter when we give an input to input field?
body: <p>I'm using Selenium WebDriver and PhantomJS as my browser and Windows7 OS.</p>
  
  <p>My Code is like below.</p>
  
  <pre><code>public void TC_PMS_015() throws Exception{
      driver.switchTo().defaultContent();
      driver.switchTo().frame(0);
      homePg.clickFrontOffice();
  
      driver.switchTo().defaultContent();
      driver.switchTo().frame("main");
      FOManageReservationPg   =   homePg.clickFOManageReservation();
  
      driver.switchTo().defaultContent();
      driver.switchTo().frame("main");
      driver.switchTo().frame("frmTabmenu_spnTabMenus_0");
      Sleep(6);
      FOManageReservationPg.clickClearButton();
      Sleep(3);
      FOManageReservationPg.selectHotel(prop.getProperty("hotel"));
      Sleep(3);
      FOManageReservationPg.enterVoucherNumberToSearch(prop.getProperty("vouchernumber"));
      Sleep(3);
      FOManageReservationPg.clickSearchButton();
      Sleep(6);
      homePg  =   FOManageReservationPg.clickCloseButton();
      }
  </code></pre>
  
  <p>And this is the method to enter the voucher number.</p>
  
  <pre><code>public void enterVoucherNumberToSearch(String VoucherNo) {
          txtVoucherNo    =   driver.findElement(By.xpath("//input[@id='txtVoucherNo']"));
          uiSendKeys(txtVoucherNo, VoucherNo);
      }
  </code></pre>
  
  <p>This is the uiSendKeys Method.</p>
  
  <pre><code>public void uiSendKeys(WebElement uiElement,String value) {
          uiElement.clear();
          uiElement.sendKeys(value);
      }
  </code></pre>
  
  <p>When I execute this test case, "enterVoucherNumberToSearch" method only takes the last letter of the voucher. </p>
  
  <p>Eg: I pass "RH0000337" as my voucher number, but it types "7" instead. </p>