How to setup different Lambda-Hooks in SpecFlow?
Hi Noah Smith,
We do have different Lambda Hooks that you can use depending on your requirements. For example, if you want to list down the file in the download directory, you can add the hooks provided below to 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 it’s functions, please refer here: