title: Automate End to End Test of Google.Com through Protractor
body: <p>I am trying to make Protractor go to google.com and search a term.</p>
  
  <ol>
  <li>I have come to where protractor loads the non angular page Google
  and then puts the text in. How do I make it press "enter" or click
  the button?</li>
  <li>In addition I am not finding any guides on how to write protractor
  tests and the functions available? I am also new to JS and Angular.
  Should I learn more AngularJS concepts or Protractor Concepts?</li>
  </ol>
  
  <p>spec.js:</p>
  
  <pre><code>browser.waitForAngularEnabled(false);
  describe('Enter Search Term', function() {
   it('This will insert into the text field in google.com', function() {
   browser.get('www.google.com');
   element(by.xpath('//*[@id="q"]')).sendKeys('What is Protractor?');
    var query = element(by.xpath('//*[@id="q"]'));
  expect(query = 'What is Protractor?');
  browser.pause();
    });
  });
  </code></pre>
  
  <p>conf.js: </p>
  
  <pre><code>exports.config = {
    seleniumAddress: 'http://localhost:4444/wd/hub',
    specs: ['spec.js']
  };
  </code></pre>