How to mark a test case as pass?

How to mark a test case as pass on LambdaTest?

Hi Tom,

To mark a test case as passed, use the following in the try block:

catch (Exception $e){
        self::$driver->executeScript("lambda-status=failed");
        }

You can also refer to LambdaTest hooks: Lambda Hooks For Selenium Automation | LambdaTest | LambdaTest