# Puppeteer-to-Playwright - 스크립트 변환 도구

> Clean Markdown view of GeekNews topic #5968. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=5968](https://news.hada.io/topic?id=5968)
- GeekNews Markdown: [https://news.hada.io/topic/5968.md](https://news.hada.io/topic/5968.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-02-13T09:25:22+09:00
- Updated: 2022-02-13T09:25:22+09:00
- Original source: [github.com/checkly](https://github.com/checkly/puppeteer-to-playwright)
- Points: 5
- Comments: 1

## Topic Body

기존 Puppeteer 스크립트를 Playwright 로 변환

- import 변환

- 기본 메소드들을 새 API로 변환 ( setViewport → setViewportSize )

- 브라우저 컨텍스트 명시적으로 생성

- explicit waiting 제거

- 쿠키 관련 명령 변환

현재 미지원 기능

- 파일 업로드/다운로드

- Request/Response Interception

- Multiple contexts / tab

## Comments



### Comment 8872

- Author: xguru
- Created: 2022-02-13T09:25:35+09:00
- Points: 1

Puppeteer 쓰시다가 Playwright 넘어간 분들은 만족하고 계시더군요.

기존에 작성한 스크립트가 많다면 이런 도구가 도움 될 것 같습니다.

- microsoft/playwright 릴리즈 - 원격 브라우저 컨트롤 https://news.hada.io/topic?id=1374

- Playwright 1.4.0 공개 https://news.hada.io/topic?id=2828

- Headless Dev - Puppeteer & Playwright 지식 창고 https://news.hada.io/topic?id=2685
