Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Got Tired of Updating Play Store Screenshots. So I Automated It!

Описание и применение

Автоматизация создания скриншотов для Google Play с помощью Playwright и Sharp избавила автора от ручного редактирования в Canva, обеспечив воспроизводимые изображения для всех категорий устройств.

Задача

Updating Play Store screenshots required repetitive manual steps: taking screenshots, editing in Canva, adding promotional text, and exporting for multiple device sizes, leading to maintenance of up to 21 images.

Результат

The author successfully automated the entire screenshot generation pipeline, eliminating manual Canva work and ensuring consistent, reproducible images across phone, 7‑inch tablet, and 10‑inch tablet categories.

Рабочий процесс

  • 1. Enable screenshot mode via VUE_APP_STORE_SCREENSHOTS=true to create a demo session with mock auth and data.
  • 2. Use Playwright to launch a browser, navigate to configured routes from screens.json, wait for specified selectors, and capture raw screenshots.
  • 3. Intercept backend API requests with Playwright’s route() to return fixture data, ensuring consistent content.
  • 4. Process raw screenshots with Sharp to add backgrounds, headlines, and device-specific dimensions.
  • 5. Export the final images and upload them to Google Play.
  • 6. Repeat the process whenever the UI changes, without manual Canva editing.

Доказательства

I could automate the whole thing?

Источник

Playwright provides a beautiful feature called network interception.

Источник

I configured three device profiles.

Источник

  • Дата записи: 2026-10-24T10:11:37.804Z