title: protractor-sync/page load issues
body: <p>i am using protractor with cucumber-js to automate angular-js application. Have followed the structure, as specified in github cucumber-js framework.</p>
  
  <p>features
  step_definitions
  support
  pages</p>
  
  <p>on executing the code through gulpfile feature file are calling the respective steps. While running protractor does not wait for page to load and keeps moving to further steps.</p>
  
  <p>so here the questions is why protractor is not waiting for application to load even though i have specified browser.sleep(5000)
  tried couple of methods:</p>
  
  <pre><code>browser.ignoreSynchronization=true;
  browser.get("appurl");
  browser.sleep(5000);
  browser.findElements(by.xpath("")).click();
  </code></pre>
  
  <p>tried with below code too, but no luck</p>
  
  <pre><code>browser.ignoreSynchronization=false;
  browser.get("appurl")
  browser.sleep(5000)
  browser.findElements(by.xpath("")).click();
  </code></pre>
  
  <p>I tried with expectedconditions with promises as well, but still no success.</p>
  
  <p>I run script using gulpfile. Script works without throwing any errors, however no actions are simulated n finally browser gets killed.
  not sure if i am missing any steps here.</p>
  
  <p>please advise...</p>