[Webkit-unassigned] [Bug 275953] New: [WebKitWebDriver]: Missing Error Information on Capability Parsing Failure
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 27 06:47:40 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=275953
Bug ID: 275953
Summary: [WebKitWebDriver]: Missing Error Information on
Capability Parsing Failure
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Major
Priority: P2
Component: WebDriver
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pythoncontrol at gmail.com
CC: bburg at apple.com
Diagnosing this issue took me over 10 hours due to the lack of specific error messages when WebKit WebDriver with GTK fails to parse capabilities. Specifically, the driver failed when provided with a non-empty `browserName` string. Additionally, Selenium does not allow an empty string for the `browserName`, which further complicated the debugging process and consumed a significant amount of time. The generic error messages made it extremely difficult to pinpoint the cause of the failure. To further investigate, I have now entered another rabbit hole by attempting to compile WebKit myself. Here is a link to the relevant lines of code on GitHub where these issues occur: https://github.com/search?q=repo%3AWebKit%2FWebKit%20%22failed%20to%20match%20capabilities%22&type=code. Implementing a debug flag that provides detailed reasons for capability parsing failures would greatly enhance troubleshooting and reduce the time spent resolving such issues.
--
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/20240627/01cc6782/attachment.htm>
More information about the webkit-unassigned
mailing list