BO
Size: a a a
BO
O
O
* Gets executed before test execution begins. At this point you can access to all global
* variables like `browser`. It is the perfect place to define custom commands.
* @param {Array.<Object>} capabilities list of capabilities details
* @param {Array.<String>} specs List of spec file paths that are to be run
* @param {Object} browser instance of created browser/device session
*/
// before: function (capabilities, specs) {
// },
V
V
O
V
m
бeforeB
бeforeNK
TT
O
B
import { ChainablePromiseElement } from "../../../../node_modules/webdriverio/build/types";O
OK
import { ChainablePromiseElement } from "webdriverio/build/types";
или WebdriverIO.ChainablePromiseElementOK
B
O
OK