Is it possible to check if a file is downloaded with filename containing a string?

Can a file be downloaded with filename containing a string?

Hi Brett,

Yes, you can get the list of files with filename containing the string from the Download direcotry:

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.