[playwright] firefoxに拡張機能インストールする方法メモ

Tech
js/ts

参考

https://github.com/microsoft/playwright/issues/7297#issuecomment-1201240331
https://github.com/ueokande/playwright-webextext
https://github.com/microsoft/playwright/issues/7297#issuecomment-3333317209
https://gist.github.com/mpetrunic/1bc80c08d080a30e306479ce0330935b

ここら辺が有力そうだが、
firefoxでは、署名なしの拡張機能は通常はインストールできず、設定を行うことで、できるようになるのだが、nightlyやdeveloper-editionなど特殊なfirefoxを使う必要がある

上記のはすべて試したけど、難しくてうまくできなかったので、拡張機能のテストはchromiumのみで行うこととした