Close

CAPABILITY GENERATOR

LambdaTestAutomation Testing ● Lambda Hooks For Selenium Automation

Lambda Hooks For Selenium Automation


LambdaTest Selenium Grid offers a set of hooks also known as Lambda Hooks that you can leverage to modify your automation test cases and perform multiple operations in your automation scripts.

Below is the representation of the available Lambda Hooks along with the function it performs.

Lambda Hooks Description
lambda-status

 

Check whether the test is passed or failed.

For Passed Test:

For Failed Test:

lambda-name

 

For changing the Test Name

lambda-file-exists

 

Check whether the downloaded file exists in the test machine.

lambda-file-stats

 

Retrieve file metadata such as md5 code, modified time, name and size.

lambda-file-content

 

Download file content using base64 encoding.

 

lambda-file-list

 

List down the file in download directory.

Got Questions? Give a shout to us. We’re here for you 24/7. Happy testing! 🙂