Utilizing playwright automation, I currently have tests running on browser stack with playwright version 1.37.1.
Error: browser.newPage: acceptDownloads: expected one of (accept|deny|internal-browser-default)
at src/base/fixtures.ts:62
60 | page: async ({ browser }, use, testInfo) => {
61 | if (isBstack) {
> 62 | const bstackPage = await browser.newPage(testInfo.project.use);
| ^
63 | await Browserstack.setSessionName(bstackPage, testInfo);
64 | await Browserstack.annotateTest(bstackPage, testInfo);
65 | await use(bstackPage);
at Object.page (/home/runner/work/vendor-portal-fe/vendor-portal-fe/playwright/src/base/fixtures.ts:62:40)
We attempted to set
acceptDownloads: true
for the browser, but unfortunately, it did not resolve the issue.