我有一个页面,在我有一个链接,我点击链接按钮,弹出窗口将出现,但同样的,如果我通过"watin“,弹出窗口被阻止,并显示消息"popup is blocked.Press "Ctrl”键,以允许弹出窗口“即将到来。
通过watin自动化,我不能在点击链接按钮时弹出,但如果我手动点击,弹出窗口就会出现。我厌倦了寻找解决方案:(有人能帮我吗?
代码如下所示
Link link = myIE.Span(Find.ByText("hello"));
link.Click();//这里没有弹出窗口
谢谢,Keshav
如何禁用Xubuntu 11.10上的所有弹出通知
我试过了:sudo apt-get remove notify-osd
这导致
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package notify-osd is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.