Skip to content

Allow passing options directly to Puppeteer's Page.goto() function #17

Open
@jerboa88

Description

@jerboa88

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ featureTYPE: An enhancement or a new feature

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions