Douwe92
Douwe92
Took one of your examples: expect(ptor.isElementPresent(protractor.By.binding('greet'))).toBe(true); and turned it into this: var pincode = ptor.isElementPresent(protractor.By.input('pincode')); expect(pincode).toBe(true); And I have seriously no clue why this is happening?
it('should login to the backoffice', function () { var url = ptor.getCurrentUrl(); ptor.findElement(protractor.By.input('username')).sendKeys('username'); ptor.findElement(protractor.By.input('password')).sendKeys('lol'); ptor.findElement(protractor.By.id('login')).click(); var url2 = ptor.getCurrentUrl(); expect(url2).toEqual(url + 'site.lol'); }); Expected 'https://link.com//' to equal '[object Object]site.lol' Somehow...
So basically, I am logging in my app. I get at a pincode screen where you have to input a number and click okay. basically the whole pincode thing I...
Is it possible for protractor to read the console of Chrome? Like for an example I got a function that sents a email to me with something in it, but...
I want to call a fucntion thats called navigateTo, would that be possible?