Skip to content

Commit e0afa8f

Browse files
committed
Disable interactionId in Firefox
1 parent b6a95e2 commit e0afa8f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

wdio.conf.cjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,19 @@ module.exports.config = {
8888
// binary: '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'
8989
};
9090
}
91+
if (browserName === 'firefox') {
92+
capability['moz:firefoxOptions'] = {
93+
args: [],
94+
prefs: {
95+
// Temporarily disable interactionid on Firefox nightly as unstable
96+
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1960645
97+
// TODO: Remove this once this hits stable
98+
'dom.performance.event_timing.enable_interactionid': false,
99+
},
100+
// Uncomment to test on Firefox Nightly (now with INP support)
101+
// binary: '/Applications/Firefox Nightly.app/Contents/MacOS/firefox'
102+
};
103+
}
91104
return capability;
92105
}),
93106
//

0 commit comments

Comments
 (0)