How to set page parameters using a puppeteer?

When performing certain actions, chrome sometimes requires user permission. How can I accept these popup windows with a puppeteer (In my case, “Download multiple files”)?

enter image description here

enter image description here

enter image description here

+4
source share
1 answer

I am afraid that this is not currently supported and seems to be in the near future. According to this ticket , this is apparently not an easy task to be completed soon.

You can look at using xvbf on "headful" Chrome, rather than using headless ones, as this means that Chrome does not use user preferences.

0
source

Source: https://habr.com/ru/post/1689545/


All Articles