[Webkit-unassigned] [Bug 276225] New: [WPE][WebDriver] WebKitWebView warn if current WebContext doesn't allow automation for automated views

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 4 07:02:11 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=276225

            Bug ID: 276225
           Summary: [WPE][WebDriver] WebKitWebView warn if current
                    WebContext doesn't allow automation for automated
                    views
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com
                CC: bugs-noreply at webkitgtk.org

The usual way of setting up automation in WebKitGTK/WPEWebkit is to first call `webkit_web_context_is_automation_allowed` and then create `WebKitWebViews` with `is-controlled-by-automation` enabled.

This ensures the `WebKitWebContext` will create ephemeral network sessions (and thus ephemeral data directories) for the automated sessions, as usually expected.

For now, we could just put a warning/critical message, without enforcing it.

In another commit, we can start enforcing the ephemeral sessions while providing a capability/flag to allow persistent automated sessions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240704/b84e7923/attachment.htm>


More information about the webkit-unassigned mailing list