SHARE
TWEET

Untitled

a guest Apr 25th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. verificarReservaCancelada: function (callback) {
  2.         let textcancelacion_xpath = '//*[@id="slide-mismensajes"]/div[2]/div[2]/div[2]/div/h2';
  3.         element(by.xpath(textcancelacion_xpath)).isPresent()
  4.         element(by.xpath(textcancelacion_xpath)).getText().then(function(text) {
  5.             console.log(text)
  6.             return text;
  7.             });
  8.     },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top