在mozilla firefox上的相机使用通知

时间:2018-03-05 09:28:31

标签: java selenium selenium-webdriver automated-tests geckodriver

我正在使用selenium dirver和geckoDriver为mozilla firefox v56编写自动测试。我正在测试的应用程序总是要求用户允许相机使用,并且始终显示此通知:

enter image description here

问题是,geckoDriver创建的Mozilla浏览器会话没有保存设置,我始终允许此页面使用相机驱动程序。 我在谈论这个解决方案:https://support.mozilla.org/en-US/kb/firefox-page-info-window

我在 about :: config 页面中找不到任何参数,我可以运行firefox从不再问这个权限。我可以请求你的帮助吗?

0 个答案:

没有答案
相关问题