-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getUserMedia() tests cannot be automated due to device selection dialog #5563
Comments
The test itself says this:
What's missing, then, is some common way of doing this, and having wptrunner actually do it. @jgraham, I guess this would be a good fit for a WebDriver extension? |
see also adapter.js for more test flags (chrome's --mute-audio might be useful too but is not listed there oddly). |
I filed https://crbug.com/711611 to track the slightly broader issue of WebRTC test automation in Chromium. |
also note that Firefox on travis now requires pulseaudio (less changes here since you already require sudo) |
It may be not proper, but anyway we need to make this issue be owned, so, set @jgraham as owner for the relationship with WebDriver extension. |
I think this issue is a dupe of these two together: Both assigned to kereliuk@, but the second is still blocked on having a WebDriver proposal. Will comment there instead. |
In #5557 there was a tests that failed on both Chrome and Firefox:
https://github.com/w3c/web-platform-tests/blob/master/webrtc/simplecall.html
Both failed with "WebRTC called error callback for getUserMedia", which means that the failure callback for getUserMedia was invoked.
The cause is very likely related to the device selection dialog. Some WebDriver extension may be needed to either select a device or deny the request, so that all scenarios can be tested automatically.
The text was updated successfully, but these errors were encountered: