Puppeteer path argument error
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
we run backstop fine locally over a lando machine, while when running it on an agent i get a strange error:
`Puppeteer encountered an error while running scenario "Homepage"
[09:01:39]
[Step 3/5] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined`
the scenario is set this way:
`scenarios = [
{
"label": "Homepage",
"url": environments[args.env] + "/",
"hideSelectors": default_hide_selectors,
delay: default_delay,
cookiePath: cookiePath,
baseUrl: environments[args.env] + "/",
}
];`
so no path is defined there, right... but then why is it working locally?
i can't make this happen locally... any ideas? :)
Contributor guide
Assessment
This issue has not been assessed yet.