[BUG] Cannot download files in headless Chrome



We have a test case in which we download an excel file from a site. After we download the file, the script checks if it exists. In normal browser mode, this works fine, but in headless mode, the file does NOT get downloaded anywhere.

Appreciate your help in advance.