title: Protractor version 5.2.0 (Latest) - How to simulate keyboard key presses- TAB, ENTER?
body: <p>Following NOT working:
  browser.actions().sendKeys(protractor.Key.TAB);
  browser.actions().sendKeys(protractor.Key.ENTER);</p>
  
  <pre><code>it('validate the upload portfolio feature', function() {
  
      //loginPage.loginToPRA(); // not needed
  
      element(by.custLoc(ObjRep.validateUploadPortfolio.portUpload)).click();
  
      browser.actions().sendKeys(protractor.Key.TAB);
      browser.actions().sendKeys(protractor.Key.ENTER);
  
      browser.sleep(3000);
  });
  </code></pre>
  
  <p>In Browse code button locator:</p>
  
  <pre><code>class="text-white background-teal cursor-pointer overflow-hidden padding-vertical-5 padding-horizontal-20 border-radius-4 border-shadow vertical-align-middle"
  </code></pre>