closeAsync method

Class: EyesPlatform: Selenium 4Language: JavaScript SDK:

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.


await eyes.closeAsync();


This method does not take any parameters.

Return value

Type: Promise


You can only use this method if the call to was made using a runner such as the VisualGridRunner.