Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: e14875818b93eac2b014270f42233739a78b5394 https://github.com/WebKit/WebKit/commit/e14875818b93eac2b014270f42233739a78b5394 Author: Anuj Panta <a_pa...@apple.com> Date: 2025-08-11 (Mon, 11 Aug 2025)
Changed paths: M Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp M Source/WebKit/UIProcess/Automation/WebAutomationSession.h M Source/WebKit/UIProcess/Automation/protocol/BidiBrowsingContext.json M Source/WebKit/UIProcess/WebPageProxy.cpp Log Message: ----------- Web Driver: add support for navigation events https://bugs.webkit.org/show_bug.cgi?id=296759 rdar://157234247 Reviewed by BJ Burg. When a frame begins navigation, we capture the event at WebPageProxy::didStartProvisionalLoadForFrameShared() and emit it through the BiDi event system, providing clients with real-time navigation start notifications including URL, navigation ID, and timing information. The design reuses WebKit's existing automation session patterns, making it straightforward to add the remaining navigation events (committed, failed, aborted, fragmentNavigated) by hooking into their respective WebKit navigation callbacks. A note we needed a UInt128 for Navigation so there is an added simple deterministic mapping to UInt64 used. * Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp: (WebKit::WebAutomationSession::navigationStartedForFrame): * Source/WebKit/UIProcess/Automation/WebAutomationSession.h: * Source/WebKit/UIProcess/Automation/protocol/BidiBrowsingContext.json: * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::didStartProvisionalLoadForFrameShared): Canonical link: https://commits.webkit.org/298524@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes