Frame navigated event did not trigger.
See original GitHub issueDetails for the environment. Puppeteer version: 5.2.1 Platform / OS version: Ubuntu 18.04.5 LTS URLs (if applicable):https://www.nokia.com/about-us/investors/investor-relations-events/ Node.js version: v10.22.0
What steps will reproduce the problem? Framenavigated event does not trigger for few frames on this page. Frame1 Upcoming events Frame2 Past events
Code:
const browser = await puppeteer.launch({
headless: false
});
const page = await browser.newPage();
page.on("frameattached", (frame) => {
console.log("frameattached", frame.url(), frame._id);
});
page.on("framenavigated", (frame) => {
console.log("framenavigated", frame.url(), frame._id);
});
page.on("framedetached", (frame) => {
console.log("framedetached", frame.url(), frame._id);
});
await page.goto('https://www.nokia.com/about-us/investors/investor-relations-events/');
Expected result: Frame navigated events for all the frames on the page.
Actual result: Frame navigated event was triggered only for the mainframe.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Frame Navigating Event does not trigger most of the ... - MSDN
Where I am doing wrong?? I want to trigger navigating event in individual page viewmodel without violating MVVM principles. Also how can I...
Read more >Frame.Navigate not working - Stack Overflow
It is hard to figure out the problem with given description. But, you can handle the NavigationFailed event to respond to navigation failure...
Read more >Window: unload event - Web APIs | MDN
The unload event is fired when the document or a child resource is being unloaded.
Read more >Event Frame Not Triggering - PI Square - OSIsoft
I have an Analysis setup that compares the current value to a value 1 minute ago. I can see the values of the...
Read more >Prototype triggers - Figma Help Center
You can use this trigger for navigating drop-down menus, or replicating ... You can only apply this to a top-level Frame, not a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Additionally, calling
page.frames()does not return all the frames in a page.@vsemozhetbyt framenavigated is fired for all frames in a page that is navigated.
We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it!