title: Unable to sendkeys using webdriverjs specifically F11 to maximise the browser
body: <p>With the below code block it opens a chrome browser fine it just won't full screen the browser using F11. i used to use C# and selenium and that worked fine using this method on chrome and different browsers. It finds the element 'body' but then does not send the key press. Am I doing something wrong here that i should be requiring some other library?</p>
  
  <p>the documentation for webdriverjs is pathetic and there is very few examples, I am seriously considering dumping it for something else possibly python.</p>
  
  <pre><code>var webdriver = require('selenium-webdriver');
  var driver = new webdriver.Builder().
      withCapabilities(webdriver.Capabilities.chrome()).
      build();
  driver.get('https://www.google.co.uk/');
  
  driver.wait(function () {
      return driver.getTitle().then(function (title) {
          return title === 'Google';
      });
  }, 1000);
  
  
  driver.findElement(webdriver.By.xpath('/html/body')).sendKeys("F11");
  </code></pre>
  
  <p>why are we doing this. we are developing a website that will change depending on size 800x600 + with and without the toolbar depending on how the screen is used different items will be displayed. i can maximise the window using,</p>
  
  <pre><code>driver.manage().window().maximize();
  </code></pre>
  
  <p>This however still leaves the toolbar present and doesn't act as if the user has pressed the F11 key.</p>