Skip to content

Commit

Permalink
fix focusout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Dec 18, 2024
1 parent ce5770e commit 2b17c2d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion web-test-runner-firefox.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ const { createUnitTestsConfig } = require('./wtr-utils.js');
const devServerConfig = require('./web-dev-server.config.js');

const unitTestsConfig = createUnitTestsConfig({
browsers: [playwrightLauncher({ product: 'firefox' })],
browsers: [
playwrightLauncher({
product: 'firefox',
launchOptions: {
firefoxUserPrefs: { 'dom.disable_tab_focus_to_root_element': false },
},
}),
],
});

module.exports = {
Expand Down

0 comments on commit 2b17c2d

Please sign in to comment.