Forum Discussion
How to enable 'Mircophone' access in Edge browser using Selenium?
Madhusudan26 have you ever seen this work with other webdriver versions (like with the old Edge, Firefox, or Chrome)? When I look, it does not look like this should work, so I'm curious about that.
-John
- Madhusudan26Mar 28, 2020Copper Contributor
Hello John
please give the solution of above comment.
And tell me its issue or bug in Microsoft edge- johnjansenMar 30, 2020Iron Contributor
Madhusudan26 if those ChromeOptions work with Chrome, then they should work with Edge. You do need to be either running Selenium 4 alpha 5 OR if you're still on Selenium 3, we published a new nuget package that can help with that.
https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium
https://github.com/microsoft/edge-selenium-tools
If it doesn't work for you, please include the code you are writing to make it work in Edge.
-John
- Madhusudan26Feb 06, 2020Copper Contributor
johnjansenFor C# code in visual studio
For the chrome below things are working and not shown micro phone allow notification by using below code
ChromeOptions CHoptions = new ChromeOptions();
CHoptions.AddArguments("use-fake-ui-for-media-stream");
CHoptions.AddArguments("use-fake-device-for-media-stream");
driver = new ChromeDriver(CHoptions);But in new Microsoft edge chromium version 79 & 80, i'm using but not find any solution on to allow microphone notification
- Madhusudan26Feb 13, 2020Copper ContributorPlz let give solution to any one on the above query ASAP.