小编Nin*_*nja的帖子

量角器中所有可用的钩子

是否有任何链接提供有关量角器中所有可用挂钩的信息。例如,在 webdriverIO 中,我们有以下内容:

    onPrepare: function (config, capabilities) {},

    beforeSession: function (config, capabilities, specs) {},

    before: function (capabilities, specs) {},

    beforeSuite: function (suite) {},

    beforeHook: function () {},

    afterHook: function () {},

    beforeTest: function (test) {},

    beforeCommand: function (commandName, args) {},

    afterCommand: function (commandName, args, result, error) {},

    afterTest: function (test) {},

    afterSuite: function (suite) {},

    after: function (result, capabilities, specs) {},

    afterSession: function (config, capabilities, specs) {},

    onComplete: function (exitCode, config, capabilities, results) {},

    onReload: function(oldSessionId, newSessionId) {},
Run Code Online (Sandbox Code Playgroud)

我正在量角器中寻找类似的钩子。

protractor

1
推荐指数
1
解决办法
3201
查看次数

标签 统计

protractor ×1