How to setup different lambda-hooks?

What are the ways to setup different lambda-hooks?

Hello Charity,

We do have different lambda-hooks that you can use depending on your requirement. For example, you want to list down the file in download directory. To do that, you can add the hooks below on your script:

lambda-file-list - print driver.execute_script(""lambda-file-list={match string with filename}"");
ie:print driver.execute_script(""lambda-file-list=sample"");Response: List of files in downloads dir starting with sample

To know more lambda-hooks and its functions, please refer here:

https://www.lambdatest.com/support/docs/lambda-hooks//