call
You can use call
to execute any async action within your test spec. The command itself
is treated like a synchronous function. It accepts promises and stops the execution until
the promise has resolved.
Usage
1 | browser.call(callback); |
Parameters
Param | Type | Details |
---|---|---|
callback | Function | function to be called |
Example
1 | it('some testing here', function() { |