marmelab / greenframe-cli

Estimate the carbon footprint of a user scenario on a web application
https://greenframe.io
Other
221 stars 9 forks source link

Cyprus Compatibility #17

Closed ng-druid closed 1 year ago

ng-druid commented 1 year ago

Playwright is wonderful but many organizations including my own have written all our tests using Cyprus. It would be ideal to at a flip of the switch run green frame using Cyprus where migration to Playwright is unrealistic and/or political. It is difficult for me and I would suppose others to sell the idea of measuring carbon emissions to our teams let alone requiring migration to Playwright. Framework agnostic or at least support of more popular systems like Cyprus would make for a much easier sell and transition to greening software.

Side Note: TestCafe is also a very well known test ecosystem. I'm sure they would love to have something like this on their cloud and part of their enterprise studio solution.

fzaninotto commented 1 year ago

Hi, and thanks for your suggestion.

We've used Cypress in the past instead of Plawright. The reason we made the switch is that Cypress does have a significant footprint, which alters the browser container measurement. The playwright footprint accounts for less than 3% of the browser container footprint in our tests.