closeAsync method
Call this method or close at the end of the test. The call to closeAsync terminates the sequence of checkpoints and returns immediately, without waiting for the test results.
Unlike the method close, this method does not wait for results to be available and does not return test results. The test results for this test can be obtained, along with all the other test results, when the runner is terminated by calling the method getAllTestResults.
Syntax
await eyes.closeAsync();
Parameters
This method does not take any parameters.Return value
- Type: Promise
Remarks
You can only use this method if the call to eyes.open was made using a runner
such as the VisualGridRunner.