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,389
  • 16
  • 48
  • 83

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
  • 3,040
  • 3
  • 27
  • 34
-1

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

ketan
  • 19,129
  • 42
  • 60
  • 98
Yokesh Varadhan
  • 1,636
  • 4
  • 21
  • 47