Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ebb3aa2df8efe9001a6b824dd58514cbcb5d112a
      
https://github.com/WebKit/WebKit/commit/ebb3aa2df8efe9001a6b824dd58514cbcb5d112a
  Author: BJ Burg <[email protected]>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M Source/WebKit/UIProcess/Automation/Automation.json
    M Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp
    M Source/WebKit/UIProcess/Automation/WebAutomationSession.h

  Log Message:
  -----------
  Web Automation: add ability to check if browsing context exists without 
switching to it
https://bugs.webkit.org/show_bug.cgi?id=301868
<rdar://161272452>

Reviewed by Tim Nguyen and Basuke Suzuki.

Introduce `Automation.resolveBrowsingContext`, which performs all the browsing 
context
validation steps of `Automation.switchToBrowsingContext` but doesn't switch or 
focus.

An internal change to safaridriver will adopt this command when performing the 
remote end
spec step to check if a browsing context is still open.

* Source/WebKit/UIProcess/Automation/Automation.json:
* Source/WebKit/UIProcess/Automation/WebAutomationSession.h:
* Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp:
(WebKit::WebAutomationSession::resolveBrowsingContext):

Canonical link: https://commits.webkit.org/302513@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to