Small helper to be able to download files in selenium tests trough javascript avoiding to depend on the drivers missing download capabilities.