Playwrigth script to download files from site

Job ID: 36844494

Budget: $30 – $250 USD

Our current work requiere to connect daily to an hotel PMS platform (Opera) and request three reports that need to be downloaded as data delimited by '|'.
What we need is three playwright scripts (in typescript) that automate the download of the files.
The expectance is to copy the scripts in the 'tests' directory where playwright is installed (it is a Mac OS laptop, but we also have a Debian server with Playwright installed).
The process of the report generation is very direct, you select the specific report, then the range of dates, which is always from January 1st, of the current year to December 31, next year. And then download the file to ../test-results (relative to /tests/ directory)
The details of the process are described in the document attached. (The credentials would be delivered upon start of the project)

The acceptance criteria is to receive three scripts from the freelancer, run the scripts (npx playwright test script1, then script2 and script3 ) and obtain 3 files in ../test-results/ (exact names on the document) whose content is exactly the same as the files downloaded manually that day.
Related categories: Test Automation Typescript