How to check if uploaded file doesn't exist?

How to check if uploaded file doesn’t exist?

Hi Noah,

You can check below LambdaTest Hook to check if file exist or not:

((JavascriptExecutor) driver).executeScript("lambda-file-exists=file-name.file_format");