goose 是一个开源的自动化测试框架,目的:
示例测试代码:
from goose.lib.autoDriver import AutoDriver from goose.common.logging import Logging log = Logging() autoDriver = AutoDriver(log) autoDriver.execStep('startbrowser', 'ff') driver = autoDriver.execStep(‘getWebDriver’) print driver # 打印查看是否成功获取driver