2
var navigation = new NavigationOptions {
Timeout = 0,WaitUntil = new [] { 
WaitUntilNavigation.Networkidle2 }
 };
    await _page.GoToAsync(Url, navigation);

I'm trying to test Angular SPA using puppeteer-sharp, but GoToAsync never resolves. Any help appreciated

Poorna Senani Gamage
  • 1,246
  • 2
  • 19
  • 30
  • 1
    Please provide more details and more code. For example: how do you check if it resolves or not? – Nick Slavsky Jun 04 '18 at 16:05
  • when i debug in visual studio, I can observe that and no log statements printed after. – Nithyeswari Shanmugam Jun 04 '18 at 16:44
  • Noticed something similar, but in my case, it just hangs on GoToAsync and eventually times out. If I pass a timeout value of 0 (= no timeout) then it eventually comes through after more than a minute. Restarting the app pool always seems to do the trick because next time it seems to work. No idea what is causing it. – Steven Lemmens Aug 29 '19 at 12:49

0 Answers0