I just want to know the good approach and ways to check if the download links in a page is not broken. Is it the same as checking the broken links?
Asked
Active
Viewed 475 times
1 Answers
1
As the download file dialog is a browser window to which selenium has no direct access you have two options:
- Configure your browser to auto-download the flies to some directory, click on the link and check the file
- Get the href value of the link and check the response code with other utilities than selenium.