protractor-net icon indicating copy to clipboard operation
protractor-net copied to clipboard

ngDriver.waitforangular is not working all the time

Open csharsha opened this issue 8 years ago • 3 comments

Hi,

I am using ngDriver.waitforangular for waiting the page to load after certain operation like user click. But it is not working all the time consistently. I have setscripttimeout to 100 seconds, but still after user click it throws sync error. The application is made out of angular 2. I want to know whether I am doing it in correct way or is there any other way to use it or to wait till page is loaded for angular 2 application.

Please help.

Thanks

csharsha avatar Feb 01 '17 15:02 csharsha

Which Protractor version are you using ? (if you are not using the latest v.10.x, try it) Are you using $timeout for continuous polling ?

bbaia avatar Feb 01 '17 16:02 bbaia

I am using the latest version of Protractor(0.10.0.0). We are not using $timeout for continuous polling in our application.

csharsha avatar Feb 02 '17 05:02 csharsha

can we use this assembly to automate angular js applications which are developed in version 4+?

csharsha avatar Oct 24 '17 04:10 csharsha