简体   繁体   English

Greasemonkey脚本的测试框架

[英]Test framework for Greasemonkey scripts

I need a framework for testing my greasemonkey scripts. 我需要一个框架来测试我的greasemonkey脚本。 UxU claims to provide this but I don't read Japanese, so I can't really follow the documentation. UxU声称提供这个,但我不读日语,所以我不能真正遵循文档。

Any suggestions? 有什么建议么?

Google translate does a good job cleaning up the non-English version of those pages . 谷歌翻译可以很好地清理这些页面的非英文版本

And, if you download the code (uxu-0.9.0.xpi), it is in English. 而且,如果你下载代码(uxu-0.9.0.xpi),它是英文的。

Also, for automated test, Selenium should work on/with GM-modified pages (but I haven't needed to try it myself). 此外,对于自动化测试, Selenium应该使用GM修改过的页面(但我不需要自己尝试)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM