title: Protractor Button Click and open page in new tab
body: <p>I am fairly new to Protractor. 
  I am trying to automate a scenario where I click on a button and its opens up a page in new tab and then we need to populate form in new page and submit.</p>
  
  <p><strong>Issue</strong>: when i click on button to open new page. My tests does not wait for new page to load and say test completed and success message.</p>
  
  <p>I am using simple click event of that button to click the button.</p>
  
  <blockquote>
    <p>element(by.id("newPlan")).click()</p>
  </blockquote>
  
  <p>Am I missing something ? Do i need to do something so that my tests wait for new page to load and then I can perform some functions ?</p>