Bug 278092
Summary: | Better way to enable WebRTC verbose logs in Safari | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kaustav <kagh> |
Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | rcaliman, webkit-bug-importer, youennf |
Priority: | P1 | Keywords: | InRadar |
Version: | Safari 18 | ||
Hardware: | All | ||
OS: | Unspecified |
Kaustav
Problem:
Enabling WebRTC & media verbose logs on Safari currently require UI interaction. We have to rely on AppleScripts in automation in order to update these settings, which is not ideal.
Possible solutions:
A) A new plist key for Safari to enable verbose WebRTC and media logs. For example:
defaults write com.apple.Safari WebRTCLogging -string "Verbose"
defaults write com.apple.Safari MediaLogging -string "Verbose"
B) In order to enable info and verbose logging on Chrome, it can be launched with [command line flags](https://webrtc.github.io/webrtc-org/native-code/logging/). Perhaps something like this could also be implemented for Safari?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/134405949>
youenn fablet
One viable solution is to add WebDriver support to control logs settings.
youenn fablet
<rdar://problem/140359720>