I am new to pyppeteer and try to download a csv. Unfortunately, without success. Suppose I want to download the following csv: 'https://people.sc.fsu.edu/~jburkardt/data/csv/addresses.csv'. Simply using
await self.page.goto('https://people.sc.fsu.edu/~jburkardt/data/csv/addresses.csv')
does not help. I tried to use
cdp = await self.page.target.createCDPSession()
await cdp.send('Page.setDownloadBehavior', { 'behavior': 'allow', 'downloadPath': '/test'})
but it's also not working. If someone knows how to make it work or can give me any advice, I'd highly appreciate that.