ppodgorsek/docker-robot-framework

Combining Playwright and Selenium causes the container images to be very big

Opened this issue · 0 comments

Container images should be as little as possible. Unfortunately, supporting both Selenium and Playwright leads to the duplication of components such as the various browser installations.
As those libraries are usually not used in combination, it could make sense to separate them to reduce image sizes.

The purpose of this ticket is to break down the project into several smaller images:

  • one core image with shared capabilities,
  • one Selenium image,
  • one Playwright image.

The CI pipeline should also be updated to build and test those images.

As this will lead to a breaking change, it should be released in a major version.