browser.newContext: options.isMobile is not supported in Firefox
hoIIer opened this issue · 1 comments
hoIIer commented
When I tried to run a test with mobile emulation, I see the error in the title.
ran test with npx folio
const assert = require('assert');
const { devices } = require('playwright');
const { folio } = require('@playwright/test');
const fixtures = folio.extend();
fixtures.contextOptions.override(async ({ contextOptions }, runTest) => {
await runTest({
...contextOptions,
...devices['iPhone SE'],
});
});
const { describe, it } = fixtures.build();
...
Separate, how could I tell it to run against e.g. an array of mobile devices as opposed to a single one?
mxschmitt commented
Closing as part of the triage process since the new test-runner got released yesterday. Please create a new issue if its still reproducible.