Open
Description
Remove hardcoded PUPPETEER_WAIT_CONDITION
constant and allow options to be passed directly to Puppeteer's Page.goto()
, along with other options, like so:
setDefaultOptions({
puppeteer: {
goto: {
timeout: 10000,
waitUntil: 'networkidle2',
// ...
},
// ...
},
// ...
})
Allowing arbitrary options to be passed will give user's more flexibility in case they need to customize the behavior of Page.goto()
for their use case.