title: detecting a file downloaded in selenium java
body: <p>I wrote an automation test in selenium java that detects if the page is redirecting (the automation detects if a new page is opened, the page redirects to other page, a new tab is opened and if an alert window is opened) </p>
  
  <p>Now to the problem.
  one of the redirects i can't find any way to detect is an automatic downloaded file (you enter a website and the website automatically downloads a file without any trigger from the user)</p>
  
  <p>p.s. </p>
  
  <p>I know the download process may differ in each browser,
  I need it to work mainly on chrome</p>
  
  <p>Thanks </p>