ChromeDevTools / devtools-protocol

Chrome DevTools Protocol
https://chromedevtools.github.io/devtools-protocol/
BSD 3-Clause "New" or "Revised" License
1.15k stars 226 forks source link

Page.frameStoppedLoading is not trigerred #138

Closed route closed 5 years ago

route commented 5 years ago

In my scenario I open URL without anchor for example: "https://localhost/all?search=1989" and then some JS happens on the page so that anchor is added "https://localhost/all?search=1989#results" making Page.frameStoppedLoading never invoked. The only event that is triggered is Page.navigatedWithinDocument.

route commented 5 years ago

Out of curiosity: does somebody look into all these issues? As I've never seen anyone from google team responding or closing any... @aslushnikov I've only seen you a couple of times responding, is it worth creating all these issues?

JoelEinbinder commented 5 years ago

When you navigate within a document, there is no loading. Everything sounds like it is working as intended?

route commented 5 years ago

@JoelEinbinder You are right it's another scenario where it should work like that. In my scenario I visit page without anchor which is added by js when page loads and Page.navigatedWithinDocument happen. Though it's my bad I have to wait longer and then Page.frameStoppedLoading actually happens when everything is fully loaded. Thanks!