When running Playwright tests with Browserstack integration, I have been getting the error
browser.newPage: acceptDownloads: expected one of (accept|deny|internal-browser-default)"
This was being thrown in all tests, which did not include download functionality.
According to an answer provided here, this should be solved by ensuring that the client and Browserstack Playwright versions are the same.
I updated my local Playwright version to 1.38.1 accordingly (listed as a supported version here), and while I’m no longer getting the error, my Browserstack automate dashboard is no longer logging any of my tests. The same happened when updating the local Playwright version to 1.39.0.
How can I log tests in v1.39.0? Or resolve the error otherwise, without upgrading?