量角器允许通知 Chrome 46 [英] Protractor Allow Notifications Chrome 46
问题描述
Chrome 刚刚自动更新到版本 46.我正在尝试运行我的量角器测试,但我现在总是得到允许通知弹出窗口.有谁知道如何解决这个问题?如何让它始终允许通知我的测试?
我在这里找到了 chrome pref 选项:
这是我用来让它工作的:
Chrome just auto-updated to version 46. I am trying to run my protractor tests but I always get the Allow Notifications pop-up now. Does anyone know how to get around this? How I can make it always allow notifications for my tests?
I found the chrome pref options here: http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/pref_names.cc?view=markup
And tried using profile.managed_default_content_settings.notifications and still can't get it to work. I am not sure of the expected value for that pref though? Not sure where I can find that. Does anyone see anything wrong with this:
This is what I used in order to get it to work:
这篇关于量角器允许通知 Chrome 46的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!