Automated testing of Chrome extension notification

断了今生、忘了曾经 提交于 2020-01-25 18:01:48

问题


I have Selenium WebDriver + ChromeDriver successfully loading and interacting with my Chrome extension.

My extension creates notifications, which I would like to be able to interact with from my automated tests, e.g. pressing a button on the notification. I take it this is not possible with Selenium, since notifications are not part of the DOM.

Has anybody considered how they might include interactions with notifications when it comes to automated testing of Chrome extensions?

来源:https://stackoverflow.com/questions/27530461/automated-testing-of-chrome-extension-notification

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!