AndrewKeig / protractor-cucumber

protractor-cucumber
MIT License
73 stars 59 forks source link

Error: Angular could not be found on the page #9

Open michaelandrew opened 10 years ago

michaelandrew commented 10 years ago

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.

lenient commented 9 years ago

this.browser.ignoreSynchronization = true;

AndrewKeig commented 9 years ago

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

matmar10 commented 9 years ago

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

lenient commented 9 years ago

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