title: Selenium - send_keys() sending incomplete string
body: <p><strong>My problem:</strong> I have a method to fill a field, but the problem is that selenium is not sending the complete string to the field, so my assert fails at the time of verification.</p>
  
  <p><strong>My code:</strong></p>
  
  <pre><code>var webdriver = require('selenium-webdriver');
  var casual = require('casual');
  var expect = require('chai').expect;
  var By = webdriver.By;
  
  exports.addPropuesta = function (driver) {
  
  var first_name = casual.first_name;
  
  driver.findElement(By.xpath("//a[contains(text(),'Añadir Propuesta Test')]")).click();
  
  name_field = driver.findElement(By.name('nombre'));
  name_field.sendKeys(first_name);
  
  driver.findElement(By.css("Input[type='submit']")).click();
  
  driver.findElement(By.css('.table')).getText().then(function(table_content){
  
      expect(table_content).to.include(first_name);
  
      });
  };
  </code></pre>