Pytest's parameterised tests might be useful here, but I don't know how well they work with conditionally included parameterised tests. Doing Chrome + Firefox + UndetectedFirefox depending on browser availability should be the easiest option, and would cover browser differences.
Maybe also Safari on Mac and Edge on Windows while I'm at it. I think a simple OS check should suffice with those. Edge is functionally forced on Windows, and I believe safari is functionally forced on Mac
Pytest's parameterised tests might be useful here, but I don't know how well they work with conditionally included parameterised tests. Doing Chrome + Firefox + UndetectedFirefox depending on browser availability should be the easiest option, and would cover browser differences.
Maybe also Safari on Mac and Edge on Windows while I'm at it. I think a simple OS check should suffice with those. Edge is functionally forced on Windows, and I believe safari is functionally forced on Mac