title: swipe and click a button protractor
body: <p>i need to swipe an item and need to click on a button in that item, i used this the test is success but i could not view that button
  this test case is written to swipe left and make a button visible and click on that button </p>
  
  <pre><code>it('should delete a product',function(){
          browser.driver.actions().mouseMove({x:-50,y:0}).perform();
  browser.sleep(3000);
              });
  </code></pre>
  
  <p>could someone help me to swipe 
  the delete button is </p>
  
  <pre><code>&lt;ion-option-button ng-show="!userService.isOffline" class="button button-assertive button disable-user-behavior" on-tap="deleteLead(leads)"&gt;Delete&lt;/ion-option-button&gt;
  </code></pre>