dimanche 19 février 2017

Difference between Promise.all, webdriver.promise.all, protractor.promise.all

I have a protractor test in which I use protractor.promise.all to resolve several promises and it works fine. However, if I change to use Promise.all instead of protractor.promise.all I get some error. So I think there is a significant difference between them. My questions:

1) What is the difference between:

webdriver = require('selenium-webdriver');
webdriver.promise.all

and

protractor.promise.all

and

Promise.all

2) How can I find all the cases where I have to use protractors own implementation instead of the standard. Is there a documentation about these special cases?

Aucun commentaire:

Enregistrer un commentaire