call
You can use call
to execute any async action within your test spec.
It accepts promises and stops the execution until the promise has been resolved.
інформація
With WebdriverIO deprecating synchronous usage (see RFC) this command is not very useful anymore.
Usage
browser.call(callback)
Parameters
Name | Type | Details |
---|---|---|
callback | Function | function to be called |