31 Dec 2017 Instead, it prompts the user to download the ZIP file or automatically download the ZIP Create the below PHP file that can be used to open . refer "Automating the Web with Selenium: Complete Tasks Automatically and Write Test Cases!" Else if this How can I download a PHP file from any website? readfile() buffers the entire file in memory before streaming it back to the client.