Germanium项目:SeleniumWebdriver测试的API不会让人失望。(测试的webdrivers包)
germaniumdrivers的Python项目详细描述
这是可选的驱动程序包。
germanium是在常规webdriver api之上的一组扩展,允许 为了一个超级简单的测试创建。它是开源和免费的:
pip install -U germanium[germaniumdrivers]
简单地说,germanium是一个web测试api,它不会让人失望:
from germanium.static import * from time import sleep open_browser("ff") go_to("http://www.google.com") type_keys("germanium pypy<enter>", Input("q")) wait(Link("Python Package Index")) click(Link("Python Package Index")) sleep(5) close_browser()
这是[用法文档](http://germaniumhq.com/documentation/),或者是[pdf](http://germaniumhq.com/documentation/germanium-usage.pdf)