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

Error: Angular could not be found on the page

Open michaelandrew opened this issue 10 years ago • 4 comments

Is there a way to bypass looking for Angular on a specific page?

For example, I have a login page that does not use angular, however login is required to access the angularjs application.

michaelandrew avatar Oct 13 '14 09:10 michaelandrew

this.browser.ignoreSynchronization = true;

lenient avatar Dec 04 '14 08:12 lenient

hey, up against it this week, happy to take a pull request. :)

AndrewKeig avatar Dec 04 '14 09:12 AndrewKeig

@lenient where is the right place to put this.browser.ignoreSynchronization = true; ?

matmar10 avatar Jul 08 '15 20:07 matmar10

@matmar10 it should be added in the step_definitions JS file, the first line of your step function.

lenient avatar Jul 09 '15 05:07 lenient