View Source
Improve this doc
end
End the session and close browser. This command is only supported in standalone mode. If you
are using the wdio testrunner you can’t close the browser before your spec finishes. The testrunner
will close the browser for you after the spec has finished.
However if you want to refresh the browser session you can try the reload
command.
Usage
Example
endAsync.js1 2 3 4 5
| client .init() .url('http://google.com') .end();
|
Uses