WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
213641
Enable mock capture devices from WebDriver capabilities.
https://bugs.webkit.org/show_bug.cgi?id=213641
Summary
Enable mock capture devices from WebDriver capabilities.
jy
Reported
2020-06-25 22:17:28 PDT
Currently it is not possible to enable WebRTC's mock capture devices through the newly introduced (with Safari 13) safaridriver. This prevents this setting from being enabled as part of automation test suites. This is crucial especially for running automated tests on simulator where there is no real media devices.
Attachments
Add attachment
proposed patch, testcase, etc.
Blaze Burg
Comment 1
2020-06-26 08:15:56 PDT
(In reply to jy from
comment #0
)
> Currently it is not possible to enable WebRTC's mock capture devices through > the newly introduced (with Safari 13) safaridriver. > > This prevents this setting from being enabled as part of automation test > suites. > > This is crucial especially for running automated tests on simulator where > there is no real media devices.
I'm not sure how you got that impression. All tabs created during a WebDriver session will automatically use mock capture devices. If they aren't, then it is a bug. safaridriver has been included with Safari since Safari 10. And extended capabilities to control WebRTC (see `man safaridriver`) have been around since Safari 12.1. If this reproduces for you within a standalone test case, please file an issue at
https://feedbackassistant.apple.com/
as the fix may not necessarily be in WebKit code. Please include a sysdiagnose, a test case, and full version information for the macOS host and the iOS simulator. Thanks, BJ
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug