You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to access the FrameId inside of the CoreWebView2::FrameNavigationCompleted or Frame::NavigationCompleted events as well as FrameNavigationStarting. See all the info here that Electron passes in a similar event.
Also to DomContentLoaded - frameID would be useful here for me.
The scenario/use case where you would use this feature
Need to detect when a frame navigates and see what frame it was. Similar to this request (which is also helpful to me) where they suggest passing the Uri property in.
I'm currently having to intercept FrameCreated and then Frame::NavigationStarting and save off e.Uri in some map, keyed by e.NavigationId, and then pull it out in Frame::NavigationCompleted
How important is this request to you?
Nice to have. There are other ways to tackle this, but having official API support would be beneficial.
Suggested implementation
pass info that Electron passes in like uri, frameId. (they have two different frameIds, maybe both make sense to pas? not sure)
What does your app do? Is there a pending deadline for this request?
Yes, it's very useful, but unfortunately he didn't
pushkin-
changed the title
[Feature]: Pass Uri and FrameId into Frame::NavigationCompleted event handler
[Feature]: Pass Uri and FrameId into Frame::NavigationCompleted and NavigationStarted event handler
Jul 18, 2024
Describe the feature/enhancement you need
I want to access the
FrameId
inside of theCoreWebView2::FrameNavigationCompleted
orFrame::NavigationCompleted
events as well asFrameNavigationStarting
. See all the info here that Electron passes in a similar event.NavStarting args have
Uri
but notFrameId
Also to DomContentLoaded - frameID would be useful here for me.
The scenario/use case where you would use this feature
Need to detect when a frame navigates and see what frame it was. Similar to this request (which is also helpful to me) where they suggest passing the Uri property in.
I'm currently having to intercept
FrameCreated
and thenFrame::NavigationStarting
and save offe.Uri
in some map, keyed bye.NavigationId
, and then pull it out inFrame::NavigationCompleted
How important is this request to you?
Nice to have. There are other ways to tackle this, but having official API support would be beneficial.
Suggested implementation
pass info that Electron passes in like uri, frameId. (they have two different frameIds, maybe both make sense to pas? not sure)
What does your app do? Is there a pending deadline for this request?
No response
AB#53262297
The text was updated successfully, but these errors were encountered: