0

How can I go to a page that does not contain angular with protractor? My test looks like this:

browser.driver.get('https://www.mysitewithlogin.com');

The result is:

Message:Error while waiting for Protractor to sync with the page: "angular could not be found on the window"

So the site starts with a login page and does not contain angular. Is it uberhaupt possible?

Pindakaas
  • 4,289
  • 16
  • 47
  • 81

2 Answers2

1

Use below line of code before launching application.

browser.ignoreSynchronization=true;

By writing above line, it wont wait for angular. It considers the app as normal app.

Priyanshu Shekhar
  • 3,010
  • 3
  • 26
  • 34
-1

you can move back a page by using this line "browser.navigate().back();"

ketan
  • 18,500
  • 41
  • 58
  • 88
Yokesh Varadhan
  • 1,586
  • 4
  • 19
  • 44