[Webkit-unassigned] [Bug 268330] New: SafariDriver doesn't respond after /url POST

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 29 14:10:00 PST 2024


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

            Bug ID: 268330
           Summary: SafariDriver doesn't respond after /url POST
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: w0nka at mac.com
                CC: bburg at apple.com

Created attachment 469607

  --> https://bugs.webkit.org/attachment.cgi?id=469607&action=review

Video demonstrating the issue.

SafariDriver doesn't respond after /url POST. This is happening in Safari 17.3 as well as in Safari Technology Preview Release 187.

Reproduction Steps:

1. Start safaridriver on port 4446 (or whichever port you desire) safaridriver -p 4446
2. Create a new Webdriver session. This reliably returns a session ID
```
curl --location 'http://localhost:4446/session' \                                         
--header 'Content-Type: application/json' \
--data '{
    "capabilities": {
       "firstMatch": [ {} ],
       "alwaysMatch": {
         "browserName": "Safari Technology Preview",
         "acceptInsecureCerts": false,
         "safari:options": {}
       }
    }
}
```
3. Using the session ID in the response from step 2, set the URL to "https://webkit.org".
```
curl --location 'http://localhost:4446/session/B3B532DD-1080-4947-B712-7EB0CFA17D2A/url' \
--header 'Content-Type: application/json' \
--data '{"url":"https://webkit.org"}'
```

Expected result: SafariDriver navigates Safari to the page and returns an HTTP response
Actual result: SafariDriver navigates Safari to the page, but never returns with an HTTP response

-- 
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/20240129/133199b1/attachment.htm>


More information about the webkit-unassigned mailing list