Bug 242941

Summary: [Cocoa] WebDriver: support the proxy directive
Product: WebKit Reporter: Noam Rosenthal <noam>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: achristensen, bburg, gsnedders, mcatanzaro, pangle, victor.vianna10, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Noam Rosenthal
Reported 2022-07-20 07:51:07 PDT
Currently the proxy directive is only implemented for GTK/WPE. It's going to be used in web platform tests soon (see https://github.com/web-platform-tests/rfcs/pull/118 and https://github.com/web-platform-tests/rfcs/pull/112. Supporting it would allow writing those tests without skipping Safari, which would be a sad alternative. Not entirely sure what's needed for this :)
Attachments
Sam Sneddon [:gsnedders]
Comment 1 2022-07-20 07:57:36 PDT
victor.vianna10
Comment 2 2025-05-13 19:21:28 PDT
It seems at least some of the building blocks are already there. So we'd just need to modify safaridriver to call them https://github.com/search?q=repo%3AWebKit%2FWebKit%20%22capabilities.proxy%22&type=code https://github.com/WebKit/WebKit/pull/2445/files Even exposing a subset of all proxyTypes (e.g. only PAC) would be a win IMO
victor.vianna10
Comment 3 2025-05-13 19:34:46 PDT
I also found https://bugs.webkit.org/show_bug.cgi?id=180408, which points to rdar://problem/36854985 for the safaridriver work
Note You need to log in before you can comment on or make changes to this bug.