The custom options added by the playwright pytest plugin are quite generic like output and device and can easily conflict with other plugins or a user's custom options since pytest does not support proper namespacing. Therefore all playwright options should be prefixed with pw. Namely: pw-output, pw-device, etc.
A non-breaking alternative, would be to allow a user to configure the option names.
Example
No response
Motivation
It is clearer for the user which options belong specifically to the playwright plugin and other plugins that would otherwise have conflicting option names would now work.
Could you give us an example with which plugin it conflicts? We have not seen a report like this. Breaking this would hurt all our users so we are careful with such changes.
🚀 Feature Request
The custom options added by the playwright pytest plugin are quite generic like
output
anddevice
and can easily conflict with other plugins or a user's custom options since pytest does not support proper namespacing. Therefore all playwright options should be prefixed withpw
. Namely:pw-output
,pw-device
, etc. A non-breaking alternative, would be to allow a user to configure the option names.Example
No response
Motivation
It is clearer for the user which options belong specifically to the playwright plugin and other plugins that would otherwise have conflicting option names would now work.